mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
If it has not been 100 seconds since we told the cpuworker about an onion, complain! Oh, wait...
svn:r4059
This commit is contained in:
parent
f3b833cb47
commit
656e31ba33
@ -375,7 +375,7 @@ cull_wedged_cpuworkers(void) {
|
||||
if (!conn->marked_for_close &&
|
||||
conn->type == CONN_TYPE_CPUWORKER &&
|
||||
conn->state == CPUWORKER_STATE_BUSY_ONION &&
|
||||
conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT > now) {
|
||||
conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT < now) {
|
||||
log_fn(LOG_NOTICE,"Bug: closing wedged cpuworker. Can somebody find the bug?");
|
||||
num_cpuworkers_busy--;
|
||||
num_cpuworkers--;
|
||||
|
Loading…
Reference in New Issue
Block a user