Skip to content

Commit

Permalink
chore: remove key cloning for cache (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
meskill committed Jun 14, 2024
1 parent 24ee576 commit 6482273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ir/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ impl Eval for IO {
Box::pin(async move {
ctx.request_ctx
.cache
.dedupe(&key.clone(), || {
Box::pin(async move {
.dedupe(&key, || {
Box::pin(async {
ctx.request_ctx
.dedupe_handler
.dedupe(&key, || Box::pin(self.eval_inner(ctx)))
Expand Down

0 comments on commit 6482273

Please sign in to comment.