mirror of https://github.com/langgenius/dify.git
fix: add max_retries=0 for executor (#33688)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
aa71784627
commit
d6e247849f
|
|
@ -101,6 +101,9 @@ class HttpRequestNode(Node[HttpRequestNodeData]):
|
||||||
timeout=self._get_request_timeout(self.node_data),
|
timeout=self._get_request_timeout(self.node_data),
|
||||||
variable_pool=self.graph_runtime_state.variable_pool,
|
variable_pool=self.graph_runtime_state.variable_pool,
|
||||||
http_request_config=self._http_request_config,
|
http_request_config=self._http_request_config,
|
||||||
|
# Must be 0 to disable executor-level retries, as the graph engine handles them.
|
||||||
|
# This is critical to prevent nested retries.
|
||||||
|
max_retries=0,
|
||||||
ssl_verify=self.node_data.ssl_verify,
|
ssl_verify=self.node_data.ssl_verify,
|
||||||
http_client=self._http_client,
|
http_client=self._http_client,
|
||||||
file_manager=self._file_manager,
|
file_manager=self._file_manager,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue