Skip to content

Commit

Permalink
fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Pengzna committed Feb 19, 2024
1 parent a028199 commit 8b66701
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void close() {
}

private Cache<Id, Object> cache(String prefix, long capacity) {
// TODO: uncomment later - graph space
final String name = prefix + "-" + this.graphName();

Check warning on line 89 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CachedSchemaTransactionV2.java

View check run for this annotation

Codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CachedSchemaTransactionV2.java#L89

Added line #L89 was not covered by tests
// NOTE: must disable schema cache-expire due to getAllSchema()
return CacheManager.instance().cache(name, capacity);
Expand Down

0 comments on commit 8b66701

Please sign in to comment.