From 94d4ee5b9ba1d0e73310e9e0cfbcf6d7edb511ee Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 22 Feb 2023 18:09:01 -0500 Subject: [PATCH] Lower default connect timeout to 1s --- client-cli/pvc/cli_lib/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc/cli_lib/common.py b/client-cli/pvc/cli_lib/common.py index 44cf74b2..c8da62ee 100644 --- a/client-cli/pvc/cli_lib/common.py +++ b/client-cli/pvc/cli_lib/common.py @@ -124,8 +124,8 @@ def call_api( data=None, files=None, ): - # Set the connect timeout to 3 seconds but extremely long (48 hour) data timeout - timeout = (3.05, 172800) + # Set the connect timeout to 1 seconds but extremely long (48 hour) data timeout + timeout = (1.05, 172800) # Craft the URI uri = "{}://{}{}{}".format(