api_nodes: reduce default timeout from 7 days to 2 hours (#9918)

This commit is contained in:
Alexander Piskun 2025-09-19 23:02:43 +03:00 committed by GitHub
parent dc95b6acc0
commit 9fdf8c25ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -683,7 +683,7 @@ class SynchronousOperation(Generic[T, R]):
auth_token: Optional[str] = None, auth_token: Optional[str] = None,
comfy_api_key: Optional[str] = None, comfy_api_key: Optional[str] = None,
auth_kwargs: Optional[Dict[str, str]] = None, auth_kwargs: Optional[Dict[str, str]] = None,
timeout: float = 604800.0, timeout: float = 7200.0,
verify_ssl: bool = True, verify_ssl: bool = True,
content_type: str = "application/json", content_type: str = "application/json",
multipart_parser: Callable | None = None, multipart_parser: Callable | None = None,