mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-16 03:12:36 +00:00
close connections
This commit is contained in:
parent
22077e7f32
commit
fa100c77fd
7 changed files with 13 additions and 5 deletions
|
|
@ -129,6 +129,7 @@ class ReferenceBatchesImpl(Batches):
|
|||
# don't cancel tasks - just let them stop naturally on shutdown
|
||||
# cancelling would mark batches as "cancelled" in the database
|
||||
logger.info(f"Shutdown initiated with {len(self._processing_tasks)} active batch processing tasks")
|
||||
await self.kvstore.close()
|
||||
|
||||
# TODO (SECURITY): this currently works w/ configured api keys, not with x-llamastack-provider-data or with user policy restrictions
|
||||
async def create_batch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue