Chromium Code Reviews| Index: commit-queue/commit_queue.py |
| =================================================================== |
| --- commit-queue/commit_queue.py (revision 232827) |
| +++ commit-queue/commit_queue.py (working copy) |
| @@ -14,6 +14,7 @@ |
| import os |
| import shutil |
| import signal |
| +import socket |
| import sys |
| import tempfile |
| import time |
| @@ -146,6 +147,10 @@ |
| def main(): |
| + # Set a default timeout for sockets. This is critical when talking to remote |
| + # services like AppEngine and buildbot. |
| + socket.setdefaulttimeout(60.0) |
|
M-A Ruel
2013/11/06 00:48:27
I'd recommend 65 or 70 just in case.
Paweł Hajdan Jr.
2013/11/06 01:00:28
Done.
|
| + |
| parser = optparse.OptionParser( |
| description=sys.modules['__main__'].__doc__) |
| project_choices = projects.supported_projects() |