Increase read concurrency

This commit is contained in:
Daniel Smith 2020-06-18 18:42:45 +00:00
parent 90060ac29f
commit 9286122544
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ struct RocksDBKeyValueStore : IKeyValueStore {
size_t diskBytesUsed = 0;
Reference<IThreadPool> writeThread;
Reference<IThreadPool> readThreads;
unsigned nReaders = 2;
unsigned nReaders = 16;
Promise<Void> errorPromise;
Promise<Void> closePromise;
std::unique_ptr<rocksdb::WriteBatch> writeBatch;