Skip to content

Commit

Permalink
fix: increase dlq buffer size
Browse files Browse the repository at this point in the history
for our high throughput consumers, this is too small

it's important not to drop messages as we are going to
be using dlq more for stale messages too

fixes SENTRY-FOR-SENTRY-A1Z
  • Loading branch information
lynnagara committed Dec 23, 2024
1 parent 7515c90 commit 213f30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arroyo/dlq.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def __init__(
self,
policy: DlqPolicy[TStrategyPayload],
) -> None:
self.MAX_PENDING_FUTURES = 1000 # This is a per partition max
self.MAX_PENDING_FUTURES = 2000 # This is a per partition max
self.__dlq_policy = policy

self.__futures: MutableMapping[
Expand Down

0 comments on commit 213f30c

Please sign in to comment.