mirror of https://github.com/BOINC/boinc.git
trickle handler daemon: mark message as handled even if handler returns error.
This is because errors in general are non-recoverable, and we'll end up retrying infinitely. If an error actually is recoverable, exit().
This commit is contained in:
parent
f5fea9c3d3
commit
e91eee67da
|
@ -67,9 +67,12 @@ bool do_trickle_scan() {
|
||||||
}
|
}
|
||||||
retval = handle_trickle(mfh);
|
retval = handle_trickle(mfh);
|
||||||
if (!retval) {
|
if (!retval) {
|
||||||
mfh.handled = true;
|
log_messages.printf(MSG_CRITICAL,
|
||||||
mfh.update();
|
"handle_trickle(): %s", boincerror(retval)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
mfh.handled = true;
|
||||||
|
mfh.update();
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
return found;
|
return found;
|
||||||
|
|
Loading…
Reference in New Issue