mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
|
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (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
When DATABASE_URL_READ_REPLICA is set, NativeDatabase opens a reader pool resolved from that URL, with its own token rotation. Pools exposes writer(), read() and read_after_write(), matching RoutingPrismaWrapper and WriterPinnedClient. read() prefers the replica and read_after_write() the writer. Each falls back to the other side when its pool cannot connect and skips the failed side for 30 seconds, so reads keep working on the replica while the writer is down The reader pool takes its share out of the reader's connection_limit the same way the writer does, with the same hard-coded RUST_RESERVED_CONNECTIONS. While that is 0 the replica URL is built exactly as before and no native reader pool opens. A replica connection_limit that is not a positive integer is left for Prisma to judge, as it always was |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_chunked_in.py | ||
| test_daily_activity_repository.py | ||
| test_daily_activity_sql.py | ||
| test_database.py | ||
| test_gateway_activity_repository.py | ||
| test_performance_alert_repository.py | ||
| test_plugin_publication.py | ||
| test_plugin_upload_repository.py | ||
| test_repositories.py | ||
| test_skill_submission_repository.py | ||
| test_spend_log_insert.py | ||
| test_unit_of_work.py | ||