#153 Force reconnect when duplicated job received.
This commit is contained in:
parent
bea3bc74b2
commit
1af1ba6b5f
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue