Skip to content

Commit

Permalink
increase packets queue limit
Browse files Browse the repository at this point in the history
  • Loading branch information
yungwine committed Mar 13, 2024
1 parent 217343c commit 22d46dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytoniq/adnl/adnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SocketProtocol(asyncio.DatagramProtocol):
def __init__(self, timeout: int = 10):
# https://github.com/eerimoq/asyncudp/blob/main/asyncudp/__init__.py
self._error = None
self._packets = asyncio.Queue(10000)
self._packets = asyncio.Queue(100000)
self.timeout = timeout
self.logger = logging.getLogger(self.__class__.__name__)

Expand Down

0 comments on commit 22d46dc

Please sign in to comment.