perf: bound database concurrency for preregistered H6 trial

This commit is contained in:
2026-10-16 01:11:42 +03:00
parent 08e345fd14
commit ca8223dba9
7 changed files with 75 additions and 16 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ services:
resources:
limits:
# соединения: API_REPLICAS × (DB_POOL_SIZE + DB_POOL_OVERFLOW) +
# migrate ≤ max_connections (100): 2 × 15 + 1 = 31, при
# поочерёдной замене 3 × 15 + 1 = 46 (REPORT.md, «Лимиты и пулы»)
# migrate ≤ max_connections (100): 2 × 2 + 1 = 5, при
# поочерёдной замене 3 × 2 + 1 = 7 (REPORT.md, «Лимиты и пулы»)
cpus: "2.0"
memory: 1G