-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove delayed_job dependecy. Lock jobs.
- Remove delayed_job dependecy completely from Gemfile. - Lock jobs during migration from delayed_jobs to good_jobs using SELECT FOR UPDATE. It means that potentially not shut down DJ worker will not be able to pick them up for performing during the migration process. After migration has been finished the jobs in question will be in good_jobs table and delayed_jobs table will be removed. So, duplicate execution should not happen.
- Loading branch information
Showing
3 changed files
with
27 additions
and
18 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