mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 09:36:43 +00:00
limit on events that can be processed by a sync
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user