diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-07 05:24:56 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-07 05:24:56 (GMT) |
commit | eb0446a39b573e681a4a65d72e4b44ecc573b30d (patch) | |
tree | 2d108b87c9f57c0a150d1c9fa49de0de6ad94efb /sugar_network/node/__init__.py | |
parent | ac8afce315db9efa2b801c95e847ba664849d865 (diff) |
Move master sync code to separate file to avoid messing it with regular node commands
Diffstat (limited to 'sugar_network/node/__init__.py')
-rw-r--r-- | sugar_network/node/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sugar_network/node/__init__.py b/sugar_network/node/__init__.py index 45eb79a..72516d1 100644 --- a/sugar_network/node/__init__.py +++ b/sugar_network/node/__init__.py @@ -65,6 +65,11 @@ sync_dirs = Option( type_cast=Option.paths_cast, type_repr=Option.paths_repr, name='sync-dirs') +pull_timeout = Option( + 'delay in seconds to return to sync-pull requester to wait until ' + 'pull request will be ready', + default=30, type_cast=int) + class HTTPStatus(Exception): |