Commit aeb00192 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Broadcast single-request transaction identically to a single request

Gives cleaner output in MONITOR.
parent 24a2fffd
......@@ -57,6 +57,7 @@ void CommandMonitor::broadcast(const std::string& linkDescription, const RedisRe
void CommandMonitor::broadcast(const std::string& linkDescription, const Transaction& transaction) {
if(!active) return;
if(transaction.size() == 1u) return broadcast(linkDescription, transaction[0].toPrintableString());
return broadcast(linkDescription, transaction.toPrintableString());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment