реализован уровень 4

This commit is contained in:
2026-10-15 20:12:22 +03:00
parent 158fed100c
commit 09b4b1d49d
25 changed files with 1794 additions and 91 deletions
+8 -2
View File
@@ -25,5 +25,11 @@ DB_QUERY_TIMEOUT=3s
READINESS_TIMEOUT=2s
SHUTDOWN_TIMEOUT=10s
# Redis will be added for grade 4.
CACHE_URL_FILE=/run/secrets/cache_url
# Redis stores a disposable cache; PostgreSQL remains the source of truth.
CACHE_URL=redis://redis:6379/0
CACHE_TTL=5m
CACHE_OPERATION_TIMEOUT=250ms
CACHE_POOL_SIZE=10
# Optional Redis Insight profile binds its UI only to localhost.
REDIS_INSIGHT_PORT=5540