level 5 track 1

This commit is contained in:
2026-11-22 19:20:51 +03:00
parent 813fc03da5
commit b3a8b2e4e0
8 changed files with 619 additions and 10 deletions
+3
View File
@@ -37,6 +37,9 @@ RABBITMQ_USER=messenger
RABBITMQ_PASSWORD=change-me-rabbit
BROKER_URL=amqp://messenger:change-me-rabbit@rabbitmq:5672/
WORKER_CONCURRENCY=2
# Upload returns 429 once this many attachments are queued or processing.
# The rejected body is not stored. Already accepted jobs keep running.
MAX_INFLIGHT_JOBS=20
JOB_MAX_ATTEMPTS=5
JOB_TIMEOUT_SECONDS=60
# Full jitter before the next attempt: uniform(0, min(cap, base * 2^(attempt-1))).