feat(ack): activity-driven check loop + prune — geen 30s-polling in rust
This commit is contained in:
parent
a6cfcfc219
commit
1f6789b9cf
1 changed files with 59 additions and 6 deletions
|
|
@ -23,7 +23,8 @@ MAX_REQUESTS_PER_DAY=5
|
|||
|
||||
# Ack tracking (ghost-send detectie; vereist message_ack aangezet in wwebjs-api .env)
|
||||
ACK_STUCK_TIMEOUT_MS=300000 # 5 min zonder ack 2 = stuck
|
||||
ACK_CHECK_INTERVAL_MS=30000 # checkinterval
|
||||
ACK_PRUNED_AFTER_MS=1800000 # 30 min: stale trackings opruimen (loop stopt dan)
|
||||
ACK_CHECK_INTERVAL_MS=30000 # checkinterval (alleen actief als er iets pending is)
|
||||
|
||||
# Admin notifications
|
||||
ADMIN_NUMBER=31612345678@c.us
|
||||
|
|
|
|||
Loading…
Reference in a new issue