diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-23 10:36:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-23 10:36:48 +0100 |
commit | 482840866e93619638119546a178cd946d2d7b1e (patch) | |
tree | 0b2035dc7923ebc34b0624e7130bf1f231e40664 | |
parent | 74e44aac4c67e148012f65c7812737409e98fbdd (diff) | |
download | rspamd-482840866e93619638119546a178cd946d2d7b1e.tar.gz rspamd-482840866e93619638119546a178cd946d2d7b1e.zip |
[Fix] Fix write servers setup for redis
-rw-r--r-- | src/lua/global_functions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/global_functions.lua b/src/lua/global_functions.lua index 720c99aa1..6f8576dba 100644 --- a/src/lua/global_functions.lua +++ b/src/lua/global_functions.lua @@ -27,7 +27,7 @@ function rspamd_parse_redis_server(module_name) if upstreams_read then if options['write_servers'] then upstreams_write = upstream_list.create(rspamd_config, - options['read_servers'], default_port) + options['write_servers'], default_port) else upstreams_write = upstreams_read end |