]> git.ipfire.org Git - thirdparty/tor.git/commit
Only call cull_wedged_cpuworkers once every 60 seconds.
authorNick Mathewson <nickm@torproject.org>
Sat, 19 Nov 2011 23:29:42 +0000 (18:29 -0500)
committerNick Mathewson <nickm@torproject.org>
Sat, 19 Nov 2011 23:30:55 +0000 (18:30 -0500)
commit8e388bc39ceb9b1a642359005b320cdc994f8a4e
tree554ea67834af1e6622c9385f77dd136c18cfbec8
parent5a02406ae0d8059d3b0bbff51d37fcb92650274b
Only call cull_wedged_cpuworkers once every 60 seconds.

The function is over 10 or 20% on some of Moritz's profiles, depending
on how you could.

Since it's checking for a multi-hour timeout, this is safe to do.

Fixes bug 4518.
changes/bug4518 [new file with mode: 0644]
src/or/cpuworker.c