Skip to content

Commit

Permalink
reverting changes of async io rocksdb option as this is version depen…
Browse files Browse the repository at this point in the history
…dent
  • Loading branch information
a00817524 authored and JohnSully committed Nov 17, 2023
1 parent 4818ddf commit 0cf263c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/rocksdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ StorageToken *RocksDBStorageProvider::begin_retrieve(struct aeEventLoop *el, aeP
}

auto opts = ReadOptions();
//opts.async_io = true;
opts.async_io = true;
(*m_pfactory->m_wqueue)->AddWorkFunction([this, el, callback, tok, opts]{
std::vector<std::string> veckeysStr;
std::vector<rocksdb::Slice> veckeys;
Expand Down

0 comments on commit 0cf263c

Please sign in to comment.