-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
queueworker: prevent stop event on WorkerSleepException (PROJQUAY-1857)…
… (#737) Prevents the queueworker from setting the event to stop the poll_queue job when a WorkerSleepException is raised. On WorkerSleepException, the worker should instead skip this iteration (go to sleep). e.g when the NamespaceGCWorker can't acquire a lock because it is already taken by some other worker. Reverts the gcworkers job timeout from 24h to 3h. In case of a deadlock between processes (for example, redeploying the app will not clear the existing Redis keys), 24h is too long waiting for the locks to expires so that the workers can resume work. Add missing Counter increment for on row deletion on the Manifest table.
- Loading branch information
Showing
5 changed files
with
10 additions
and
5 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