Skip to content

Commit e127f20

Browse files
committed
Format
1 parent 58fdf36 commit e127f20

File tree

1 file changed

+6
-2
lines changed
  • lib/executor/src/executors

1 file changed

+6
-2
lines changed

lib/executor/src/executors/map.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::{
22
collections::{BTreeMap, HashMap},
3-
sync::Arc, time::Duration,
3+
sync::Arc,
4+
time::Duration,
45
};
56

67
use bytes::{BufMut, Bytes, BytesMut};
@@ -344,7 +345,10 @@ impl SubgraphExecutorMap {
344345
if let Some(subgraph_traffic_shaping_config) =
345346
self.config.traffic_shaping.subgraphs.get(subgraph_name)
346347
{
347-
if subgraph_traffic_shaping_config.pool_idle_timeout_seconds.is_some() {
348+
if subgraph_traffic_shaping_config
349+
.pool_idle_timeout_seconds
350+
.is_some()
351+
{
348352
client = Arc::new(
349353
Client::builder(TokioExecutor::new())
350354
.pool_timer(TokioTimer::new())

0 commit comments

Comments
 (0)