Merge pull request #19503 from Ultimaker/CURA-11956_slow_upload_big_timeout

[CURA-11956] The easy way to fix a slow response is to up the timeout...
This commit is contained in:
HellAholic 2024-08-14 13:47:28 +02:00 committed by GitHub
commit 4cd80562c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ class CloudApiClient:
CLUSTER_API_ROOT = f"{ROOT_PATH}/connect/v1"
CURA_API_ROOT = f"{ROOT_PATH}/cura/v1"
DEFAULT_REQUEST_TIMEOUT = 10 # seconds
DEFAULT_REQUEST_TIMEOUT = 30 # seconds
# In order to avoid garbage collection we keep the callbacks in this list.
_anti_gc_callbacks = [] # type: List[Callable[[Any], None]]