oem_gateway icon indicating copy to clipboard operation
oem_gateway copied to clipboard

Shorter urllib timeout

Open lafrech opened this issue 10 years ago • 1 comments

A shorter timeout on urlopen() would be nice. Since the program is single-threaded, urlopen() stops the whole execution.

The timeout argument in urlopen() does not seem to work. http://docs.python.org/2/library/urllib2.html

Neither does socket.setdefaulttimeout().

To investigate...

lafrech avatar Jul 27 '13 13:07 lafrech