forked from frappe/press
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Site): Serialize enable database access calls
- Since job is fast, we need to check the `is_database_access_enabled` field's status in addition to pending and running jobs. - This will only work if job callback also puts a lock on site doc before updating the field
- Loading branch information
1 parent
854eb5c
commit fcc0672
Showing
2 changed files
with
14 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