Prevent infinite loop on invalid input to 'throttle off' command
This commit is contained in:
parent
004e73b2f1
commit
be875e040d
|
@ -248,6 +248,8 @@ ACTOR Future<bool> throttleCommandActor(Reference<IDatabase> db, std::vector<Str
|
||||||
}
|
}
|
||||||
tagSet.addTag(tokens[nextIndex + 1]);
|
tagSet.addTag(tokens[nextIndex + 1]);
|
||||||
nextIndex += 2;
|
nextIndex += 2;
|
||||||
|
} else {
|
||||||
|
is_error = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue