Prevent infinite loop on invalid input to 'throttle off' command

This commit is contained in:
sfc-gh-tclinkenbeard 2022-03-18 20:22:49 -07:00
parent 004e73b2f1
commit be875e040d
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ ACTOR Future<bool> throttleCommandActor(Reference<IDatabase> db, std::vector<Str
}
tagSet.addTag(tokens[nextIndex + 1]);
nextIndex += 2;
} else {
is_error = true;
}
}