diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-09 22:39:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-09 22:39:49 +0000 |
commit | 34a09c24b59fa41edc1ad8b6f0d899cef877d273 (patch) | |
tree | 61303803444a51b82d395180fd11664f0811ba34 /src/or/main.c | |
parent | b248ed620fb9ab4eb2534fd493d83e26e0cdfbcc (diff) | |
download | tor-34a09c24b59fa41edc1ad8b6f0d899cef877d273.tar.gz tor-34a09c24b59fa41edc1ad8b6f0d899cef877d273.zip |
r12706@catbus: nickm | 2007-05-09 18:39:46 -0400
Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business.
svn:r10150
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 2c2387255a..14ca11d068 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1021,7 +1021,7 @@ run_scheduled_events(time_t now) buf_shrink(conn->inbuf); } clean_cell_pool(); - buf_shrink_freelist(); + buf_shrink_freelists(); time_to_shrink_memory = now + MEM_SHRINK_INTERVAL; } |