feat: add fail_open mode so a Redis outage cannot block task dispatch (#85)

This commit is contained in:
d3vyce
2026-07-29 10:30:52 +02:00
committed by GitHub
parent d8835733ed
commit 7b93229243
5 changed files with 109 additions and 5 deletions
+1
View File
@@ -58,6 +58,7 @@ except DuplicateTaskError:
- **Partial fingerprint** — deduplicate on a subset of kwargs with `deduplication_key_fields`, ignoring irrelevant arguments (positional arguments are excluded).
- **Per-task opt-out** — disable deduplication for individual tasks with the `deduplication` label.
- **Startup resilience** — automatic reconnection with exponential backoff if Redis is unavailable at broker startup.
- **Fail-open mode** — opt in with `fail_open` to keep dispatching tasks when Redis is unreachable at runtime, trading deduplication for availability.
## License