Revert "Add some thread yields"

This reverts commit 3485f1addd.
This commit is contained in:
Daniel Smith 2020-08-11 18:49:51 +00:00
parent 8c20124612
commit 97165dd278
1 changed files with 0 additions and 4 deletions

View File

@ -369,7 +369,6 @@ struct RocksDBKeyValueStore : IKeyValueStore {
a->batchToCommit = std::move(writeBatch);
auto res = a->done.getFuture();
writeThread->post(a);
threadYield();
return res;
}
@ -377,7 +376,6 @@ struct RocksDBKeyValueStore : IKeyValueStore {
auto a = new Reader::ReadValueAction(key, debugID);
auto res = a->result.getFuture();
readThreads->post(a);
threadYield();
return res;
}
@ -385,7 +383,6 @@ struct RocksDBKeyValueStore : IKeyValueStore {
auto a = new Reader::ReadValuePrefixAction(key, maxLength, debugID);
auto res = a->result.getFuture();
readThreads->post(a);
threadYield();
return res;
}
@ -393,7 +390,6 @@ struct RocksDBKeyValueStore : IKeyValueStore {
auto a = new Reader::ReadRangeAction(keys, rowLimit, byteLimit);
auto res = a->result.getFuture();
readThreads->post(a);
threadYield();
return res;
}