#153 Force reconnect when duplicated job received.
This commit is contained in:
parent
bea3bc74b2
commit
1af1ba6b5f
@ -220,7 +220,8 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_job == job) {
|
if (m_job == job) {
|
||||||
LOG_WARN("[%s:%u] duplicate job received, ignore", m_url.host(), m_url.port());
|
LOG_WARN("[%s:%u] duplicate job received, reconnect", m_url.host(), m_url.port());
|
||||||
|
close();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user