Skip to content

Commit

Permalink
Update threshold (apache#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sijie committed Mar 4, 2018
1 parent 9bc41ab commit ab93a18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public void startStandalone() throws Exception {
conf.setLedgerManagerFactoryClassName("org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory");
// conf.setLedgerStorageClass(DbLedgerStorage.class.getName());
conf.setLedgerStorageClass(SortedLedgerStorage.class.getName());
conf.setDiskUsageThreshold(1.0f);
conf.setDiskUsageThreshold(0.99999f);
conf.setDiskUsageWarnThreshold(0.9999f);
conf.setProperty("dbStorage_writeCacheMaxSizeMb", 256);
conf.setProperty("dbStorage_readAheadCacheMaxSizeMb", 64);
Expand Down

0 comments on commit ab93a18

Please sign in to comment.