oem_gateway
oem_gateway copied to clipboard
Shorter urllib timeout
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...