added a yield to getMore()
This commit is contained in:
parent
7b64e711c7
commit
d47aae27f3
|
@ -977,6 +977,8 @@ ACTOR Future<Void> bufferedGetMore( ILogSystem::BufferedCursor* self, int taskID
|
|||
throw internal_error();
|
||||
}
|
||||
|
||||
Void _ = wait(yield());
|
||||
|
||||
state Version targetVersion = std::min(self->end, self->messageVersion.version + SERVER_KNOBS->VERSIONS_PER_BATCH);
|
||||
self->messages.clear();
|
||||
|
||||
|
|
Loading…
Reference in New Issue