Skip to content

Conversation

@tcdent
Copy link
Contributor

@tcdent tcdent commented Jan 21, 2026

Add clear_keys() function that safely clears all Redis keys managed by
the application (task queue, results, events, trackers) using SCAN to
avoid blocking Redis. The function is integrated into cancel_pending()
with a clear_redis flag (default True) so users can optionally skip
Redis cleanup. Only targets keys matching the configured prefix to
avoid affecting other systems sharing the Redis database.

Add clear_keys() function that safely clears all Redis keys managed by
the application (task queue, results, events, trackers) using SCAN to
avoid blocking Redis. The function is integrated into cancel_pending()
with a clear_redis flag (default True) so users can optionally skip
Redis cleanup. Only targets keys matching the configured prefix to
avoid affecting other systems sharing the Redis database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants