Skip to content

Commit

Permalink
[CapMan] change default throttle values (#6022)
Browse files Browse the repository at this point in the history
* default values

* fix

---------

Co-authored-by: Rachel Chen <[email protected]>
  • Loading branch information
xurui-c and Rachel Chen authored Jun 12, 2024
1 parent 85d8728 commit 247b345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snuba/query/allocation_policies/per_referrer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
_DEFAULT_CONCURRENT_REQUEST_PER_REFERRER = 100
_REFERRER_CONCURRENT_OVERRIDE = -1
_REFERRER_MAX_THREADS_OVERRIDE = -1
_REQUESTS_THROTTLE_DIVIDER = 1
_THREADS_THROTTLE_DIVIDER = 1
_REQUESTS_THROTTLE_DIVIDER = 2
_THREADS_THROTTLE_DIVIDER = 2


class ReferrerGuardRailPolicy(BaseConcurrentRateLimitAllocationPolicy):
Expand Down

0 comments on commit 247b345

Please sign in to comment.