Skip to content

Commit

Permalink
refact(core): early stop unnecessary loops in edge cache (#2211)
Browse files Browse the repository at this point in the history
  • Loading branch information
GYXkeep authored May 16, 2023
1 parent 0f2faf4 commit f23c648
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ protected Iterator<HugeEdge> queryEdgesFromBackend(Query query) {
if (edge.expired()) {
this.edgesCache.invalidate(cacheKey);
value = null;
break;
}
}
}
Expand Down

0 comments on commit f23c648

Please sign in to comment.