mirror of
https://github.com/JHUAPL/AccumuloGraph.git
synced 2026-01-09 20:57:55 -05:00
Revert "Make the vertex/edge caches have no default timeout, as is mentioned in documentation"
This reverts commit 1590fe05fd.
It is not clear that existing cache implementation works after changing this default.
This commit is contained in:
@@ -424,7 +424,7 @@ public class AccumuloGraphConfiguration implements Serializable {
|
||||
}
|
||||
|
||||
public int getVertexCacheTimeout() {
|
||||
return conf.getInt(Keys.VERTEX_CACHE_TIMEOUT, -1);
|
||||
return conf.getInt(Keys.VERTEX_CACHE_TIMEOUT, 30000);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -455,7 +455,7 @@ public class AccumuloGraphConfiguration implements Serializable {
|
||||
}
|
||||
|
||||
public int getEdgeCacheTimeout() {
|
||||
return conf.getInt(Keys.EDGE_CACHE_TIMEOUT, -1);
|
||||
return conf.getInt(Keys.EDGE_CACHE_TIMEOUT, 30000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user