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 committed Nov 6, 2023
1 parent 82aa1aa commit b7ae81d
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 b7ae81d

Please sign in to comment.