mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 00:45:57 +08:00
refac
This commit is contained in:
parent
d055e1f888
commit
768717aaf9
@ -69,7 +69,7 @@ TIMEOUT_DURATION = 3
|
||||
async def periodic_usage_pool_cleanup():
|
||||
while True:
|
||||
now = int(time.time())
|
||||
log.debug("Cleaning up usage pool", now)
|
||||
log.debug(f"Cleaning up usage pool: {now}")
|
||||
for model_id, connections in list(USAGE_POOL.items()):
|
||||
# Creating a list of sids to remove if they have timed out
|
||||
expired_sids = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user