]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix write servers setup for redis
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Jun 2016 09:36:48 +0000 (10:36 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Jun 2016 09:36:48 +0000 (10:36 +0100)
src/lua/global_functions.lua

index 720c99aa1bcddb60804f35e8839620d3fa3ad6d6..6f8576dba3c2f7ac50a76ff5389339affd30c788 100644 (file)
@@ -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