We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28182e9 commit 1be63aeCopy full SHA for 1be63ae
lib/executor/src/executors/map.rs
@@ -131,8 +131,6 @@ impl SubgraphExecutorMap {
131
.map(|cfg| Arc::new(cfg.clone()))
132
.unwrap_or_else(|| global_config_arc.clone());
133
134
- let timeout_config = subgraph_config.and_then(|cfg| cfg.timeout.as_ref());
135
-
136
let mut executor = HTTPSubgraphExecutor::new(
137
endpoint_uri.clone(),
138
http_client,
@@ -142,7 +140,7 @@ impl SubgraphExecutorMap {
142
140
)
143
141
.to_boxed_arc();
144
145
- if let Some(timeout_config) = timeout_config {
+ if let Some(timeout_config) = &config_arc.timeout {
146
executor = TimeoutExecutor::try_new(endpoint_uri, timeout_config, executor)?
147
148
}
0 commit comments