소스 검색

If it has not been 100 seconds since we told the cpuworker about an onion, complain! Oh, wait...

svn:r4059
Nick Mathewson 20 년 전
부모
커밋
656e31ba33
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/cpuworker.c

+ 1 - 1
src/or/cpuworker.c

@@ -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--;