-
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.
* enforce hard limits on non-responsive work horses by workers * move differences from Worker to helper methods to help make the specialization clearer * move HardLimitingWorker to redash/tasks * move schedule.py to /tasks * explain the motivation for HardLimitingWorker * pleasing CodeClimate * pleasing CodeClimate * port query execution to RQ * get rid of argsrepr * avoid star imports * allow queries to be cancelled in RQ * return QueryExecutionErrors as job results * fix TestTaskEnqueue and QueryExecutorTests * remove Celery monitoring * get rid of QueryTask and use RQ jobs directly (with a job serializer) * Revert "remove Celery monitoring" This reverts commit 37a74ea. * reduce occurences of the word 'task' * use Worker, Queue and Job instead of spreading names that share behavior details * remove locks for failed jobs as well * did I not commit that colon? oh my * push the redis connection to RQ's stack on every request to avoid verbose connection setting * use a connection context for tests * black it up * run RQ on all queues when running in Cypress
- Loading branch information
Omer Lachish
authored
Dec 30, 2019
1 parent
ff34ded
commit 329e859
Showing
13 changed files
with
362 additions
and
283 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
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
Oops, something went wrong.