bugfix
This commit is contained in:
parent
a9dac89119
commit
767edfa606
@ -186,12 +186,12 @@ where a.llmid = b.id
|
|||||||
lus.append(r)
|
lus.append(r)
|
||||||
return lus
|
return lus
|
||||||
|
|
||||||
async def backend_accounting():
|
async def backend_accounting():
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
debug(f'backend accounting started ...')
|
debug(f'backend accounting started ...')
|
||||||
while True:
|
while True:
|
||||||
lus = await get_accounting_llmusages()
|
lus = await get_accounting_llmusages()
|
||||||
for lu in lus:
|
for lu in lus:
|
||||||
await llm_accounting(lu)
|
await llm_accounting(lu)
|
||||||
await asyncio.sleep(0.1)
|
await asyncio.sleep(0.1)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user