[Checkins] SVN: zc.zeoinputlog/branches/replay/src/zc/zeoinputlog/readonlyreplay.py add timeout
Satchidanand Haridas
satchit at zope.com
Mon Aug 8 11:53:54 EDT 2011
Log message for revision 122492:
add timeout
Changed:
U zc.zeoinputlog/branches/replay/src/zc/zeoinputlog/readonlyreplay.py
-=-
Modified: zc.zeoinputlog/branches/replay/src/zc/zeoinputlog/readonlyreplay.py
===================================================================
--- zc.zeoinputlog/branches/replay/src/zc/zeoinputlog/readonlyreplay.py 2011-08-08 15:23:33 UTC (rev 122491)
+++ zc.zeoinputlog/branches/replay/src/zc/zeoinputlog/readonlyreplay.py 2011-08-08 15:53:54 UTC (rev 122492)
@@ -291,7 +291,7 @@
self.output('request', op, args)
try:
t = time.time()
- r = urllib2.urlopen(self.blob_url+path)
+ r = urllib2.urlopen(self.blob_url+path, timeout=10)
self.read_blob(r)
ret = None
except Exception, v:
More information about the checkins
mailing list