forked from mtusi2026/mtusi2026lab5
ЛР 5 — БВТ2301 — Курлова — на 5
RabbitMQ + transactional outbox, отдельный worker (thumbnail/crop/WebP), lease и heartbeat, retry с backoff+jitter, DLQ и replay, admission control; тесты отказов, трек 1 и отчёт.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Durable broker for the attachment pipeline (see REPORT.md).
|
||||
loopback_users.guest = true
|
||||
listeners.tcp.default = 5672
|
||||
# A delivery not acked for 10 min is returned to the queue (worker hang guard on the broker side;
|
||||
# the application lease in PostgreSQL detects a hung job much earlier).
|
||||
consumer_timeout = 600000
|
||||
# Refuse publishes before the disk fills up (publisher sees the block and the outbox keeps the jobs).
|
||||
disk_free_limit.absolute = 200MB
|
||||
vm_memory_high_watermark.relative = 0.6
|
||||
log.console.level = warning
|
||||
Reference in New Issue
Block a user