wip: apply auth-hardening (interrupted by session end)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 16:22:11 +03:00
co-authored by Claude Opus 5.5
parent f014f7bc0d
commit cf0f6256d3
26 changed files with 1728 additions and 64 deletions
+3
View File
@@ -48,6 +48,9 @@ os.environ.update(
"DATABASE__POOL_TIMEOUT_SECONDS": "1",
"DATABASE__REQUEST_TIMEOUT_SECONDS": str(BLOCK_SECONDS),
"AUTH__KDF_CONCURRENCY": "1",
# меньше срока запроса BLOCK_SECONDS, иначе Settings не загрузится
# (change auth-hardening, design, решение 5)
"AUTH__KDF_WAIT_TIMEOUT_SECONDS": str(BLOCK_SECONDS / 2),
},
)