Skip to content

Commit 00c58e8

Browse files
committed
Merge pull request #108 from qq254963746/develop
leveldb performance
2 parents 8c7fd76 + 11575b1 commit 00c58e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lts-core/src/main/java/com/lts/core/failstore/leveldb/LeveldbFailStore.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ protected void init() {
4242
options = new Options();
4343
options.createIfMissing(true);
4444
options.cacheSize(100 * 1024 * 1024); // 100M
45+
options.maxOpenFiles(400);
4546
}
4647

4748
protected String getName() {

0 commit comments

Comments
 (0)