-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See also https://movember.atlassian.net/browse/IRONN-270 The `TimeoutLock` used to prevent concurrent EMPRO trigger states overwrites was expiring prior to completion. Elaborate chain of events needed to reproduce the problem, but the existing 60 second timeout for any single user's updates to their trigger_states->triggers data was inadequate when other jobs (such as `update_patients_task`) came in before completion of trigger processing. The end result was an area of code intended to be locked in a critical section, would obtain a fresh lock even if one was in use, when it had been longer than the expiration time. This PR gives more than adequate space (2 hours rather than 60 seconds). --------- Co-authored-by: Ivan Cvitkovic <ivanc@uw.edu> Co-authored-by: Amy Chen <achen2401@gmail.com> Co-authored-by: Amy Chen <clone@cesium.cirg.washington.edu>
- Loading branch information
1 parent
212e244
commit 89eb8ef
Showing
3 changed files
with
29 additions
and
4 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