浏览代码

[Minor] Fix ES plugin

tags/1.9.2
Vsevolod Stakhov 5 年前
父节点
当前提交
750dc61797
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      src/plugins/lua/elastic.lua

+ 1
- 2
src/plugins/lua/elastic.lua 查看文件

@@ -36,6 +36,7 @@ local N = "elastic"
local E = {}
local connect_prefix = 'http://'
local enabled = true
local ingest_geoip_type = 'plugins'
local settings = {
limit = 500,
index_pattern = 'rspamd-%Y.%m.%d',
@@ -448,8 +449,6 @@ if redis_params and opts then

if settings.ingest_module then
ingest_geoip_type = 'modules'
else
ingest_geoip_type = 'plugins'
end

settings.upstream = upstream_list.create(rspamd_config,

正在加载...
取消
保存