Skip to content

Commit

Permalink
lower small buffer pool preallocation
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Apr 24, 2024
1 parent 6d1c3d5 commit 9f183f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ww/buffer_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ buffer_pool_t *createBufferPool()

buffer_pool_t *createSmallBufferPool()
{
const unsigned long count_max = 2 * (16 * 4);
const unsigned long count_max = 2 * (16 * 2);
const unsigned long container_len = count_max * sizeof(shift_buffer_t *);
buffer_pool_t * pool = malloc(sizeof(buffer_pool_t) + container_len);
#ifdef DEBUG
Expand Down

0 comments on commit 9f183f5

Please sign in to comment.