From a8c57932861df07c2089ac2d082e02e2f8c9621e Mon Sep 17 00:00:00 2001 From: David Schultz Date: Wed, 13 Sep 2023 13:24:42 -0500 Subject: [PATCH] update to latest rest tools syntax --- iceprod/core/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iceprod/core/functions.py b/iceprod/core/functions.py index 44850e4c6..ff511e792 100644 --- a/iceprod/core/functions.py +++ b/iceprod/core/functions.py @@ -284,7 +284,7 @@ def _http_helper(options={}, sync=True): session = Session else: session = AsyncSession - with session() as s: + with session(retries=10, backoff_factor=0.3) as s: if 'username' in options and 'password' in options: s.auth = (options['username'], options['password']) if 'sslcert' in options: