diff options
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index c0e308b983..cc5ee4f13b 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1519,7 +1519,7 @@ void init_cell_pool(void) { tor_assert(!cell_pool); - cell_pool = mp_pool_new(sizeof(packed_cell_t), 1<<19); + cell_pool = mp_pool_new(sizeof(packed_cell_t), 128*1024); } /** Free all storage used to hold cells. */ @@ -1538,7 +1538,7 @@ void clean_cell_pool(void) { tor_assert(cell_pool); - mp_pool_clean(cell_pool, -1, 0); + mp_pool_clean(cell_pool, 0, 1); } /** Release storage held by <b>cell</b>. */ |