diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-19 18:29:42 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-19 18:30:55 -0500 |
commit | 8e388bc39ceb9b1a642359005b320cdc994f8a4e (patch) | |
tree | 554ea67834af1e6622c9385f77dd136c18cfbec8 /changes/bug4518 | |
parent | 5a02406ae0d8059d3b0bbff51d37fcb92650274b (diff) | |
download | tor-8e388bc39ceb9b1a642359005b320cdc994f8a4e.tar.gz tor-8e388bc39ceb9b1a642359005b320cdc994f8a4e.zip |
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.
Diffstat (limited to 'changes/bug4518')
-rw-r--r-- | changes/bug4518 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug4518 b/changes/bug4518 new file mode 100644 index 0000000000..8dcb93bf72 --- /dev/null +++ b/changes/bug4518 @@ -0,0 +1,4 @@ + o Minor bugfixes (performance): + - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers + function. This was eating up hideously large amounts of time on some + busy servers. Fixes bug 4518. |