Skip to content

Commit

Permalink
specify worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Oct 18, 2024
1 parent c663284 commit 4eaeece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private CompletableFuture<MirrorResult> run(MirrorKey mirrorKey) {
mirrorConfig.maxNumBytesPerMirror());
}, worker);
// Remove the inflight request when the mirror task is done.
future.handleAsync((unused0, unused1) -> inflightRequests.remove(mirrorKey));
future.handleAsync((unused0, unused1) -> inflightRequests.remove(mirrorKey), worker);
return future;
} catch (Throwable e) {
inflightRequests.remove(mirrorKey);
Expand Down

0 comments on commit 4eaeece

Please sign in to comment.