Make wait interruptable

This commit is contained in:
Lukas Joswiak 2021-07-27 15:45:35 -07:00
parent 08bc787356
commit b423432ee1
1 changed files with 1 additions and 1 deletions

View File

@ -3960,7 +3960,7 @@ ACTOR Future<int> cli(CLIOptions opt, LineNoise* plinenoise) {
is_error = true;
continue;
}
wait(timeout(GlobalConfig::globalConfig().onInitialized(), 3, Void()));
wait(makeInterruptable(GlobalConfig::globalConfig().onInitialized()));
if (tokencmp(tokens[2], "get")) {
if (tokens.size() != 3) {
fprintf(stderr, "ERROR: Addtional arguments to `get` are not supported.\n");