mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 11:02:52 +00:00
close connections
This commit is contained in:
parent
22077e7f32
commit
fa100c77fd
7 changed files with 13 additions and 5 deletions
|
|
@ -43,6 +43,10 @@ class InmemoryKVStoreImpl(KVStore):
|
|||
async def delete(self, key: str) -> None:
|
||||
del self._store[key]
|
||||
|
||||
async def close(self) -> None:
|
||||
"""No-op for in-memory store."""
|
||||
pass
|
||||
|
||||
|
||||
async def kvstore_impl(config: KVStoreConfig) -> KVStore:
|
||||
if config.type == KVStoreType.redis.value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue