-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Avoid deadlocks while refreshing authentication
use a transaction and FOR UPDATE during selection to lock the row being updated to reduce likelihood of a deadlock.
- Loading branch information
1 parent
a396997
commit 4574c9e
Showing
1 changed file
with
26 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