Skip to content

Commit 11d8667

Browse files
authored
♻️ Adjusting timeout for docker_node_id recovery (ITISFoundation#3382)
1 parent fef0500 commit 11d8667

File tree

1 file changed

+4
-5
lines changed
  • services/director-v2/src/simcore_service_director_v2/core

1 file changed

+4
-5
lines changed

services/director-v2/src/simcore_service_director_v2/core/settings.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,11 @@ class DynamicSidecarSettings(BaseCustomSettings):
214214
),
215215
)
216216
DYNAMIC_SIDECAR_TIMEOUT_FETCH_DYNAMIC_SIDECAR_NODE_ID: PositiveFloat = Field(
217-
60.0,
217+
5 * MINS,
218218
description=(
219-
"When starting the dynamic-sidecar proxy, the NodeID of the dynamic-sidecar container "
220-
"is required. If something goes wrong timeout and do not wait forever in a loop. "
221-
"This is used to scheduler the status of the service via aiodocker and not http requests "
222-
"twards the dynamic-sidecar, as is the case with the above timeout field."
219+
"After starting the dynamic-sidecar its docker_node_id is required. "
220+
"This operation can be slow based on system load, sometimes docker "
221+
"swarm takes more than seconds to assign the node."
223222
),
224223
)
225224
DYNAMIC_SIDECAR_API_SAVE_RESTORE_STATE_TIMEOUT: PositiveFloat = Field(

0 commit comments

Comments
 (0)