limit on events that can be processed by a sync

This commit is contained in:
Doug Hoyte
2023-07-20 17:45:00 -04:00
parent 78033bf03b
commit 0d21dc3255
6 changed files with 28 additions and 1 deletions

View File

@ -149,6 +149,9 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
} else if (msg.at(0) == "EOSE") {
inFlightDown = false;
writer.wait();
} else if (msg.at(0) == "NEG-ERR") {
LE << "Got NEG-ERR response from relay: " << msg;
::exit(1);
} else {
LW << "Unexpected message from relay: " << msg;
}