changed a knob

This commit is contained in:
Evan Tschannen 2018-10-18 15:26:19 -07:00
parent 0b304495ad
commit 9b6c7f253c
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ ACTOR Future<Void> commitBatch(
state int mutationNum = 0;
state VectorRef<MutationRef>* pMutations = &trs[transactionNum].transaction.mutations;
for (; mutationNum < pMutations->size(); mutationNum++) {
if(yieldBytes > SERVER_KNOBS->DESIRED_UPDATE_BYTES) {
if(yieldBytes > SERVER_KNOBS->DESIRED_TOTAL_BYTES) {
yieldBytes = 0;
Void _ = wait(yield());
}