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:
Michael Lieberman
2014-12-23 19:15:21 -05:00
parent 1590fe05fd
commit 1acc82af57

View File

@@ -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);
}
/**