Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: gclient.py

Issue 1785083005: Set default --lock_timeout to 5m (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: updated comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | git_cache.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 5d0e412a739c8fbbc227d53009374895dbf9334b..c240d471941c96886307b36ee3fcef0392752f4b 100755
--- a/gclient.py
+++ b/gclient.py
@@ -2050,9 +2050,9 @@ def CMDsync(parser, args):
help='Don\'t bootstrap from Google Storage.')
parser.add_option('--ignore_locks', action='store_true',
help='GIT ONLY - Ignore cache locks.')
- parser.add_option('--lock_timeout', type='int', default=0,
+ parser.add_option('--lock_timeout', type='int', default=5000,
help='GIT ONLY - Deadline (in seconds) to wait for git '
- 'cache lock to become available.')
+ 'cache lock to become available. Default is %default.')
(options, args) = parser.parse_args(args)
client = GClient.LoadCurrentConfig(options)
« no previous file with comments | « no previous file | git_cache.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698