Completed for a grade of five
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-09 11:50:01 +03:00
parent 1632fe4b16
commit dc5abb6fff
142 changed files with 8207 additions and 57 deletions
+3
View File
@@ -5,6 +5,8 @@ services:
postgres:
image: postgres:17.6-alpine3.22
container_name: mtusi-lab2-postgres
# pg_stat_statements counts executed queries, track 1 uses it to measure the cache stampede.
command: ["postgres", "-c", "shared_preload_libraries=pg_stat_statements", "-c", "pg_stat_statements.track=all"]
environment:
POSTGRES_DB: messenger
POSTGRES_USER: messenger
@@ -67,6 +69,7 @@ services:
REDIS_PORT: "6379"
REDIS_PASSWORD_FILE: /run/secrets/redis_password
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
SESSION_CACHE_SINGLE_FLIGHT: ${SESSION_CACHE_SINGLE_FLIGHT:-true}
secrets:
- db_password
- redis_password