Closed virtuald closed 7 months ago
@TheTripleV reports using this fixed their slow deploy issues:
sock = socket.socket(socket.AddressFamily.AF_INET, socket.SOCK_STREAM) retry_on_signal (lambda: sock.connect((self.hostname, 22))) self.client.connect( self.hostname, username=self.username, password=self.password, allow_agent=False, look _for_keys-False, sock=sock, )
TBH, probably should add the retry_on_signal to RobotFinder and just reuse that socket instead of making a second connection?
retry_on_signal
Windows
No response
Netconsole also has this issue.
I'm surprised this is an issue in newer pythons because of https://peps.python.org/pep-0475/
Problem description
@TheTripleV reports using this fixed their slow deploy issues:
TBH, probably should add the
retry_on_signal
to RobotFinder and just reuse that socket instead of making a second connection?Operating System
Windows
Installed Python Packages
No response
Reproducible example code
No response