diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-06-01 09:50:25 -0400 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-06-14 12:36:46 -0500 |
commit | 3f13297b48c511de37c2a3233780d07d089c9993 (patch) | |
tree | 3890a6b39d12bd4e84d128e5c3f3a7050c605672 /src/lib/Options.py | |
parent | 3dfcbe27a11988512a0315b013adbc31cd24d3f8 (diff) | |
download | bcfg2-3f13297b48c511de37c2a3233780d07d089c9993.tar.gz bcfg2-3f13297b48c511de37c2a3233780d07d089c9993.tar.bz2 bcfg2-3f13297b48c511de37c2a3233780d07d089c9993.zip |
added -t option to set client timeout
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r-- | src/lib/Options.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index 26d0fa349..e6eebb808 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -317,6 +317,9 @@ CLIENT_USER = Option('The user to provide for authentication', default='root', cmd='-u', cf=('communication', 'user'), odesc='<user>') CLIENT_SERVICE_MODE = Option('Set client service mode', default='default', cmd='-s', odesc='<default|disabled|build>') +CLIENT_TIMEOUT = Option('Set the client XML-RPC timeout', default=90, + cmd='-t', cf=('communication', 'timeout'), + odesc='<timeout>') # APT client tool options CLIENT_APT_TOOLS_INSTALL_PATH = Option('Apt tools install path', |