Skip to content

Commit

Permalink
set default value for SDK to 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyXSD committed Sep 8, 2022
1 parent 6fba01e commit fe438fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/java/src/main/java/io/juicefs/JuiceFileSystemImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public void initialize(URI uri, Configuration conf) throws IOException {
obj.put("entryTimeout", Float.valueOf(getConf(conf, "entry-cache", "0.0")));
obj.put("dirEntryTimeout", Float.valueOf(getConf(conf, "dir-entry-cache", "0.0")));
obj.put("cacheFullBlock", Boolean.valueOf(getConf(conf, "cache-full-block", "true")));
obj.put("cacheScanInterval", Integer.valueOf(getConf(conf, "cache-scan-interval", "300")));
obj.put("metacache", Boolean.valueOf(getConf(conf, "metacache", "true")));
obj.put("autoCreate", Boolean.valueOf(getConf(conf, "auto-create-cache-dir", "true")));
obj.put("maxUploads", Integer.valueOf(getConf(conf, "max-uploads", "20")));
Expand Down

0 comments on commit fe438fd

Please sign in to comment.