You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Internet connection is disrupted when the map is updating it can hang forever.
The default timeout with urllib is no timeout.
Apparently the only way to set it is to set the default socket timeout like: socket.setdefaulttimeout(30)
Seems like it would be a good idea to set the default timeout in all code that makes requests using urllib to prevent this hang.
If Internet connection is disrupted when the map is updating it can hang forever.
The default timeout with urllib is no timeout.
Apparently the only way to set it is to set the default socket timeout like:
socket.setdefaulttimeout(30)
Seems like it would be a good idea to set the default timeout in all code that makes requests using urllib to prevent this hang.
Reference:
https://python.readthedocs.io/en/stable/howto/urllib2.html#sockets-and-layers
The text was updated successfully, but these errors were encountered: