-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to enqueue outgoing jobs in another worker (#71)
* Try to enqueue outgoing jobs in another worker # Summary This commit is trying to fix issue RedisMutex::LockError on #57. Whenever we have the error, it simply enqueues another worker. At the begin of the worker, if the job is succedeed, we simply call `enqueue_outgoing_jobs` again. * Delay next job's execution to avoid hammering the lock
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 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