-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move limiter logic to child job for copay notifications (#12932)
* Add limiter for batch processing * Adjust limit numbers * Move to concurrent approach * Break out from batch * Decrease concurrent thread count * Revert past decrease * Move throttle to class method * Make static limiter * Lint * Lint pt 2 * Restrict copay notifications to 1000/minute * Move throttle to child job * Limit new statement job * Initialize constants after throttle * Move class throttle method to top of class
- Loading branch information
Scott James
authored
Jun 8, 2023
1 parent
99e0ba3
commit a8945d1
Showing
2 changed files
with
21 additions
and
26 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