diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-30 16:56:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-30 16:56:09 +0100 |
commit | 6030bd28ff3f08cd798ab2c30a726accbaa0596a (patch) | |
tree | 295a680c6d7d913052261f9544603102be00aecc /src/controller.c | |
parent | b5b0137de78bd9ea656adb64633fe91d210e14f6 (diff) | |
download | rspamd-6030bd28ff3f08cd798ab2c30a726accbaa0596a.tar.gz rspamd-6030bd28ff3f08cd798ab2c30a726accbaa0596a.zip |
[Minor] Initialize redis pool
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index 7280d9951..2b19a7dd7 100644 --- a/src/controller.c +++ b/src/controller.c @@ -2836,6 +2836,8 @@ start_controller_worker (struct rspamd_worker *worker) rspamd_upstreams_library_config (worker->srv->cfg, worker->srv->cfg->ups_ctx, ctx->ev_base, ctx->resolver->r); + rspamd_redis_pool_config (worker->srv->cfg->redis_pool, + worker->srv->cfg, ctx->ev_base); /* Maps events */ rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver); rspamd_symbols_cache_start_refresh (worker->srv->cfg->cache, ctx->ev_base); |