Remove accidentally merged restart of miner on first connect
This commit is contained in:
parent
5e8e6a521a
commit
fd8b0920c0
1 changed files with 0 additions and 4 deletions
|
@ -228,10 +228,6 @@ unsigned Service::setClientStatus(const std::string& clientIp, const std::string
|
||||||
clientStatus.parseFromJson(document);
|
clientStatus.parseFromJson(document);
|
||||||
clientStatus.setExternalIp(clientIp);
|
clientStatus.setExternalIp(clientIp);
|
||||||
|
|
||||||
if (m_clientStatus.find(clientId) == m_clientStatus.end()) {
|
|
||||||
m_clientCommand[clientId] = ControlCommand(ControlCommand::RESTART);
|
|
||||||
}
|
|
||||||
|
|
||||||
m_clientStatus[clientId] = clientStatus;
|
m_clientStatus[clientId] = clientStatus;
|
||||||
|
|
||||||
resultCode = getClientCommand(clientId, resp);
|
resultCode = getClientCommand(clientId, resp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue