mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue