diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index d2dec7e47..445b0e42b 100644 --- a/src/main.c +++ b/src/main.c @@ -318,6 +318,9 @@ main (int argc, char **argv) TAILQ_INIT (&rspamd->workers); setproctitle ("main process"); + + /* Init statfile pool */ + rspamd->statfile_pool = statfile_pool_new (cfg->max_statfile_size); for (i = 0; i < cfg->workers_number; i++) { fork_worker (rspamd, listen_sock, 0, TYPE_WORKER); |