aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index c562528a3..afd9a9b72 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -318,6 +318,8 @@ start_worker (struct rspamd_worker *worker)
ctx->ev_base,
worker->srv->cfg);
+ rspamd_upstreams_library_init (ctx->resolver->r, ctx->ev_base);
+
/* Create classify pool */
ctx->classify_pool = NULL;
if (ctx->classify_threads > 1) {