forked from hugegraph/hugegraph
refact(core): early stop unnecessary loops in edge cache (#2211)
This commit is contained in:
parent
0f2faf48dc
commit
f23c648937
|
|
@ -326,6 +326,7 @@ public final class CachedGraphTransaction extends GraphTransaction {
|
|||
if (edge.expired()) {
|
||||
this.edgesCache.invalidate(cacheKey);
|
||||
value = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue