Index: Source/WebCore/platform/leveldb/LevelDBDatabase.cpp |
=================================================================== |
--- Source/WebCore/platform/leveldb/LevelDBDatabase.cpp (revision 143797) |
+++ Source/WebCore/platform/leveldb/LevelDBDatabase.cpp (working copy) |
@@ -133,6 +133,8 @@ |
options.comparator = comparator; |
options.create_if_missing = true; |
options.paranoid_checks = true; |
+ // 20 max_open_files is the minimum LevelDB allows. |
+ options.max_open_files = 20; |
options.env = env; |
return leveldb::DB::Open(options, path.utf8().data(), db); |