From 44ceacd07b2ba96e6b51d33a8b7cd91c7a8376c0 Mon Sep 17 00:00:00 2001 From: Nightriff <66378309+Nightriff@users.noreply.github.com> Date: Mon, 23 Oct 2023 03:51:58 -0700 Subject: [PATCH 1/2] Extend upload timeout to server timeout + 5s leeway --- lib/upload_operator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/upload_operator.py b/lib/upload_operator.py index 99e9993..8d8d56b 100644 --- a/lib/upload_operator.py +++ b/lib/upload_operator.py @@ -217,6 +217,7 @@ async def upload_task(cls, window_manager, area, target_object, file_path, packa asset_description=constants.ASSET_DESCRIPTION, file_path=file_path, asset_id=package_id or NO_ASSET_ID, + upload_request_timeout_seconds = 25, ) return operation From 7226c12672f1ce0677cc0860b70c8332970dd313 Mon Sep 17 00:00:00 2001 From: Nightriff <66378309+Nightriff@users.noreply.github.com> Date: Mon, 23 Oct 2023 09:44:25 -0700 Subject: [PATCH 2/2] Run formatter --- lib/upload_operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upload_operator.py b/lib/upload_operator.py index 8d8d56b..2bf85e9 100644 --- a/lib/upload_operator.py +++ b/lib/upload_operator.py @@ -217,7 +217,7 @@ async def upload_task(cls, window_manager, area, target_object, file_path, packa asset_description=constants.ASSET_DESCRIPTION, file_path=file_path, asset_id=package_id or NO_ASSET_ID, - upload_request_timeout_seconds = 25, + upload_request_timeout_seconds=25, ) return operation