Browse Source

Set max_open_files for LevelDB to 256

On Linux it seems a bit greedy
master
Neil Booth 8 years ago
parent
commit
b97496d4a5
  1. 2
      server/storage.py

2
server/storage.py

@ -77,7 +77,7 @@ class LevelDB(Storage):
def open(self, name, create):
self.db = self.module.DB(name, create_if_missing=create,
compression=None)
max_open_files=256, compression=None)
self.get = self.db.get
self.put = self.db.put
self.iterator = self.db.iterator

Loading…
Cancel
Save