Skip to content

Commit

Permalink
Change incoming socket HWM to avoid limiting the number of requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeronimoalbi committed Feb 21, 2022
1 parent 4fd6843 commit 17925fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Changed
- Change incoming socket HWM to avoid limiting the number of incoming requests

## [3.0.1] - 2021-08-16
### Added
Expand Down
1 change: 1 addition & 0 deletions kusanagi/sdk/lib/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ async def listen(self):
try:
ctx = zmq.asyncio.Context()
socket = ctx.socket(zmq.REP)
socket.hwm = 0
socket.bind(channel)
except zmq.error.ZMQError as err: # pragma: no cover
if err.errno == errno.EADDRINUSE:
Expand Down

0 comments on commit 17925fc

Please sign in to comment.