aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-30 16:56:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-30 16:56:09 +0100
commit6030bd28ff3f08cd798ab2c30a726accbaa0596a (patch)
tree295a680c6d7d913052261f9544603102be00aecc /src/libserver/cfg_utils.c
parentb5b0137de78bd9ea656adb64633fe91d210e14f6 (diff)
downloadrspamd-6030bd28ff3f08cd798ab2c30a726accbaa0596a.tar.gz
rspamd-6030bd28ff3f08cd798ab2c30a726accbaa0596a.zip
[Minor] Initialize redis pool
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index decd33156..a50986c80 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -166,6 +166,7 @@ rspamd_config_new (void)
cfg->ssl_ciphers = "HIGH:!aNULL:!kRSA:!PSK:!SRP:!MD5:!RC4";
cfg->max_message = DEFAULT_MAX_MESSAGE;
cfg->monitored_ctx = rspamd_monitored_ctx_init ();
+ cfg->redis_pool = rspamd_redis_pool_init ();
REF_INIT_RETAIN (cfg, rspamd_config_free);