mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(spend): requeue spend logs in place to stay under the LIT002 ceiling
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b709b7ba7c
commit
c8c4492919
1 changed files with 1 additions and 1 deletions
|
|
@ -5713,7 +5713,7 @@ async def _requeue_spend_log_transactions(prisma_client: PrismaClient, logs: Seq
|
|||
if not logs:
|
||||
return
|
||||
async with prisma_client._spend_log_transactions_lock:
|
||||
prisma_client.spend_log_transactions = [*logs, *prisma_client.spend_log_transactions]
|
||||
prisma_client.spend_log_transactions[:0] = logs
|
||||
|
||||
|
||||
def _requeue_tool_usage_transactions_if_flush_failed(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue