diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-27 18:19:32 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-27 18:19:32 +0300 |
commit | dee3bdecf7b338ded8df307703e2ebf6be209e30 (patch) | |
tree | 41ab51dccaa64b5937a6fdba1d18d431bf8c8147 /src/cfg_xml.c | |
parent | 608432786ad77ce7ce071dd975d6c59d503d2302 (diff) | |
download | rspamd-dee3bdecf7b338ded8df307703e2ebf6be209e30.tar.gz rspamd-dee3bdecf7b338ded8df307703e2ebf6be209e30.zip |
* Initial implementation of threaded kvstorage worker.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index d66912ab9..edd8c9a17 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -919,6 +919,10 @@ worker_handle_type (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GH wrk->type = TYPE_GREYLIST; wrk->has_socket = FALSE; } + else if (g_ascii_strcasecmp (data, "keystorage") == 0) { + wrk->type = TYPE_KVSTORAGE; + wrk->has_socket = TRUE; + } else { msg_err ("unknown worker type: %s", data); return FALSE; |