Changeset 126905 in webkit
- Timestamp:
- Aug 28, 2012, 11:36:38 AM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/common/net/bugzilla/bugzilla.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r126876 r126905 1 2012-08-28 Szilard Ledan <szledan@inf.u-szeged.hu> 2 3 [webkit-patch] gets stuck into an infinite loop if bugzilla doesn't respond in time. 4 https://bugs.webkit.org/show_bug.cgi?id=94700 5 6 Reviewed by Eric Seidel. 7 8 Interrupting download with a timeout would be a possible solution. 9 I imported the socket module and used the setdefaulttimeout() method. 10 Fixing it is important, because EWS bots need to be restarted regularly 11 because of this bug. 12 13 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: 14 (Bugzilla._get_browser): 15 (Bugzilla.setdefaulttimeout): 16 1 17 2012-08-28 Gabor Rapcsanyi <rgabor@webkit.org> 2 18 -
trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py
r125123 r126905 34 34 import re 35 35 import StringIO 36 import socket 36 37 import urllib 37 38 … … 280 281 def _get_browser(self): 281 282 if not self._browser: 283 self.setdefaulttimeout(600) 282 284 from webkitpy.thirdparty.autoinstalled.mechanize import Browser 283 285 self._browser = Browser() … … 290 292 291 293 browser = property(_get_browser, _set_browser) 294 295 def setdefaulttimeout(self, value): 296 socket.setdefaulttimeout(value) 292 297 293 298 def fetch_user(self, user_id):
Note:
See TracChangeset
for help on using the changeset viewer.