summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2017-06-01 18:14:58 -0400
committerJoan Touzet <joant@atypical.net>2017-06-01 18:14:58 -0400
commite5e708a018c6f44408fc055df1aacb65572b8637 (patch)
tree59eb30ccf35a472786c7a4b73576085086861577
parentd8f71d2de0e84779352d67c2787fbd2281cef461 (diff)
downloadcouchdb-e5e708a018c6f44408fc055df1aacb65572b8637.tar.gz
couchup rebuild timeout must be passed as a float
-rwxr-xr-xrel/overlay/bin/couchup2
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/overlay/bin/couchup b/rel/overlay/bin/couchup
index e7ce656a4..2d0105107 100755
--- a/rel/overlay/bin/couchup
+++ b/rel/overlay/bin/couchup
@@ -288,7 +288,7 @@ def _rebuild(args):
args['clustered_port'], db, ddoc, view),
params={'limit': 1},
auth=args['creds'],
- timeout=args['timeout'])
+ timeout=float(args['timeout']))
except requests.exceptions.Timeout:
if not args['quiet']:
print("Timeout, view is processing. Moving on.")