Skip to content

Commit d39424a

Browse files
committed
added variable for maximal timeout
1 parent 7b4752a commit d39424a

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ class ComputationalBackendSettings(BaseCustomSettings):
8282
FileLinkType.PRESIGNED,
8383
description=f"Default file link type to use with computational backend on-demand clusters '{list(FileLinkType)}'",
8484
)
85+
COMPUTATIONAL_BACKEND_MAX_WAITING_FOR_CLUSTER_TIMEOUT: datetime.timedelta = Field(
86+
default=datetime.timedelta(minutes=30),
87+
description="maximum time a pipeline can wait for a cluster to start"
88+
"(default to seconds, or see https://pydantic-docs.helpmanual.io/usage/types/#datetime-types for string formating).",
89+
)
8590

8691
@cached_property
8792
def default_cluster(self) -> BaseCluster:

0 commit comments

Comments
 (0)