-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Redis query queue locking redesign
Usage of time as sorting active queries list leads to random flipping of active keys. Such behavior leads to plural execution of single query in queue under load. Replace active keys time sorting with unique `processingId` locks for queries. Fixes #459
- Loading branch information
1 parent
5634b62
commit a2eb9b2
Showing
7 changed files
with
291 additions
and
143 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
Oops, something went wrong.