[Server] Trigger 'update' when added new rules in MasterClient

0.6.1
Koncord 8 years ago
parent f2b8a939ef
commit 873da495b1

@ -85,6 +85,7 @@ void MasterClient::SetRuleString(std::string key, std::string value)
rule.str = value;
rule.type = 's';
queryData.rules.insert({key, rule});
updated = true;
}
mutexData.unlock();
}
@ -99,6 +100,7 @@ void MasterClient::SetRuleValue(std::string key, double value)
rule.val = value;
rule.type = 'v';
queryData.rules.insert({key, rule});
updated = true;
}
mutexData.unlock();
}

Loading…
Cancel
Save