mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
sysutils/py-salt: Increase receive buffer size to prevent a hanging minion
PR: 271367 Reported by: Johan Söllvander <jsollvander_axcient_dot_com>, kevans
This commit is contained in:
parent
75c0974f4d
commit
0d7e53d131
@ -1,6 +1,6 @@
|
||||
PORTNAME= salt
|
||||
PORTVERSION= 3005.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
10
sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py
Normal file
10
sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py
Normal file
@ -0,0 +1,10 @@
|
||||
--- salt/ext/tornado/iostream.py.orig 2023-05-16 11:50:28 UTC
|
||||
+++ salt/ext/tornado/iostream.py
|
||||
@@ -1116,6 +1116,7 @@ class IOStream(BaseIOStream):
|
||||
future = self._connect_future = TracebackFuture()
|
||||
try:
|
||||
self.socket.connect(address)
|
||||
+ self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 524288)
|
||||
except socket.error as e:
|
||||
# In non-blocking mode we expect connect() to raise an
|
||||
# exception with EINPROGRESS or EWOULDBLOCK.
|
Loading…
Reference in New Issue
Block a user