mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 16:45:56 +08:00
The easy way to fix a slow response is to up the timeout.
This might on one hand have (other) consequences, and given the slowness we encounter not even be enough in some cases (may be related to the size of the messages?) May need to be fixed on server side. attempt to adress CURA-11956
This commit is contained in:
parent
e3287a1c16
commit
77e0d705db
@ -42,7 +42,7 @@ class CloudApiClient:
|
|||||||
CLUSTER_API_ROOT = f"{ROOT_PATH}/connect/v1"
|
CLUSTER_API_ROOT = f"{ROOT_PATH}/connect/v1"
|
||||||
CURA_API_ROOT = f"{ROOT_PATH}/cura/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.
|
# In order to avoid garbage collection we keep the callbacks in this list.
|
||||||
_anti_gc_callbacks = [] # type: List[Callable[[Any], None]]
|
_anti_gc_callbacks = [] # type: List[Callable[[Any], None]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user