[ARVADOS] updated: c190374af4e3f48c57eae2a63cc7867674716ad0
git at public.curoverse.com
git at public.curoverse.com
Tue Mar 17 10:23:26 EDT 2015
Summary of changes:
sdk/python/arvados/keep.py | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
via c190374af4e3f48c57eae2a63cc7867674716ad0 (commit)
from 471dd5bfde6b7218b72bedff6d92c6150af059e6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit c190374af4e3f48c57eae2a63cc7867674716ad0
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Mar 17 10:27:03 2015 -0400
5476: Describe timeout behavior if KeepClient.__init__ docstring.
diff --git a/sdk/python/arvados/keep.py b/sdk/python/arvados/keep.py
index 7e2c1e6..6196b50 100644
--- a/sdk/python/arvados/keep.py
+++ b/sdk/python/arvados/keep.py
@@ -449,16 +449,21 @@ class KeepClient(object):
KeepClient does not use a proxy, pass in an empty string.
:timeout:
- The timeout (in seconds) for HTTP requests to Keep
+ The initial timeout (in seconds) for HTTP requests to Keep
non-proxy servers. A tuple of two floats is interpreted as
(connection_timeout, read_timeout): see
http://docs.python-requests.org/en/latest/user/advanced/#timeouts.
+ Because timeouts are often a result of transient server load, the
+ actual connection timeout will be increased by a factor of two on
+ each retry.
Default: (2, 300).
:proxy_timeout:
- The timeout (in seconds) for HTTP requests to
+ The initial timeout (in seconds) for HTTP requests to
Keep proxies. A tuple of two floats is interpreted as
- (connection_timeout, read_timeout). Default: (20, 300).
+ (connection_timeout, read_timeout). The behavior described
+ above for adjusting connection timeouts on retry also applies.
+ Default: (20, 300).
:api_token:
If you're not using an API client, but only talking
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list