Skip to content

Commit 57c1da8

Browse files
authored
Fix fingerprint usage in HTTP executor
1 parent a3a01c6 commit 57c1da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/executor/src/executors/http.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl SubgraphExecutor for HTTPSubgraphExecutor {
186186
&http::Method::POST,
187187
&self.endpoint,
188188
&self.header_map,
189-
&execution_request.upstream_headers,
189+
execution_request.upstream_headers,
190190
&body,
191191
&self.config.dedupe_fingerprint_headers,
192192
);
@@ -195,7 +195,7 @@ impl SubgraphExecutor for HTTPSubgraphExecutor {
195195
// Prevents any deadlocks.
196196
let cell = self
197197
.in_flight_requests
198-
.entry(fingerprint.clone())
198+
.entry(fingerprint)
199199
.or_default()
200200
.value()
201201
.clone();

0 commit comments

Comments
 (0)