-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RQ: periodically clear failed jobs (#4306)
* add some logging to scheduler * clean failed RQ job data from Redis * move stale job purging to tasks/general.py * provide better documentation on why we don't reject keys in FailedJobRegistry at the moment * pleasing the CodeClimate overlords * simplified clenaup by deleting both job data and registry entry * use FailedJobRegistry as source of truth for purging * remove redundant key deletion * Update redash/settings/__init__.py Co-Authored-By: Arik Fraimovich <arik@arikfr.com>
- Loading branch information
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters