lab2 fix
Application / Lint (pull_request) Canceled after 0s
Application / Unit tests (pull_request) Canceled after 0s
Application / Docker build (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Vladislav Kunetskiy
2026-10-10 00:50:24 +03:00
parent 1e38dbdf35
commit da9fcf346a
36 changed files with 995 additions and 1038 deletions
+6 -7
View File
@@ -15,7 +15,7 @@ postgres:
port: 5432
database: messenger
user: messenger
password: ${APP_POSTGRES_PASSWORD}
password: ${POSTGRES_PASSWORD}
ssl_mode: disable
max_conns: 10
min_conns: 1
@@ -29,19 +29,18 @@ redis:
host: localhost
port: 6379
db: 0
max_retries: 3
dial_timeout: 5s
read_timeout: 3s
write_timeout: 3s
# -1 disables go-redis retries; 0 keeps the library default (3 retries).
max_retries: -1
dial_timeout: 300ms
read_timeout: 200ms
write_timeout: 200ms
pool_size: 10
cache:
enabled: true
chat_list_ttl: 5m
session_ttl: 5m
lock_ttl: 10s
lock_wait_timeout: 2s
lock_timeout_policy: error
session:
ttl_seconds: 3600