Skip to content

Commit 789c916

Browse files
d-csclaude
andcommitted
chore(webapp,redis-worker): make mollifier constants configurable
Expose every previously-hardcoded mollifier tunable (buffer ack TTL and Redis retry/reconnect, drainer poll interval and backoff, idempotency claim TTL/wait/poll, mutate-fallback wait loop, metadata CAS retries, stale-sweep scan bounds, draining-gauge interval) via TRIGGER_MOLLIFIER_* env vars, each defaulting to its prior hardcoded value so behaviour is unchanged unless overridden. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 359e250 commit 789c916

182 files changed

Lines changed: 208343 additions & 18 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/redis-worker": patch
3+
---
4+
5+
Make mollifier buffer and drainer internals configurable. `MollifierBuffer` now accepts `ackGraceTtlSeconds`, `maxRetriesPerRequest`, `reconnectStepMs`, and `reconnectMaxMs` options, and `MollifierDrainer` accepts `maxBackoffMs` and `backoffFloorMs`. All default to their previous hardcoded values, so existing behaviour is unchanged.

0 commit comments

Comments
 (0)