-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Banned users filtering maintenance task (#2937)
# Description Banned user filtering is now part of the auction update critical path and sometimes takes too much time. ![image](https://github.com/user-attachments/assets/678f769c-48c7-43b3-b4a0-904a7aaad5f7) # Changes To speed things up, a background maintenance task is introduced that periodically re-checks for the address's banned status. Doesn't clean the cache, so it can grow indefinitely. Also, switches to `RwLock` to avoid thread blocking since the cache is used in the orderbook's `/quote` endpoint. ## How to test New DB test. Existing e2e tests.
- Loading branch information
1 parent
521a7b4
commit 12aa87b
Showing
3 changed files
with
120 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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