-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
pyral sets the default timeout on all sockets to be 5 seconds:
https://github.com/RallyTools/RallyRestToolkitForPython/blob/master/pyral/context.py#L139
This causes side effects on all programs using pyral and doing other network IO and that will suddendly start seeing unexplainable timeout errors.
The library should only set the timeout on its own sockets, or at least revert the change after it is done
This can be worked around by calling this after using pyral and before doing other network IO (assuming that it is possible to have a before and after):
import socket
socket.setdefaulttimeout(None)
jeiros, dkukeijiy and vdjs
Metadata
Metadata
Assignees
Labels
No labels