diff --git a/fdbcli/KillCommand.actor.cpp b/fdbcli/KillCommand.actor.cpp index c8fa75bb1c..befd329b09 100644 --- a/fdbcli/KillCommand.actor.cpp +++ b/fdbcli/KillCommand.actor.cpp @@ -105,6 +105,8 @@ ACTOR Future killCommandActor(Reference db, "fetch latest addresses.\n", addressesStr.c_str()); } else { + // delay in case the network queue is not flush before the client exits + wait(delay(3.0)); printf("Attempted to kill %zu processes\n", tokens.size() - 1); } }