浏览代码

[Minor] Fix Redis prefixes

tags/3.3
Vsevolod Stakhov 1年前
父节点
当前提交
cbdb21960f
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      lualib/plugins/neural.lua

+ 4
- 4
lualib/plugins/neural.lua 查看文件

@@ -835,17 +835,17 @@ local function process_rules_settings()
persistent = true,
type = 'hash',
})
lua_redis.register_prefix(selt.prefix .. '_\\d+_spam', N,
lua_redis.register_prefix(selt.prefix .. '_\\d+_spam_set', N,
string.format('NN learning set (spam) for rule "%s"; settings id "%s"',
selt.prefix, selt.name), {
persistent = true,
type = 'list',
type = 'set',
})
lua_redis.register_prefix(selt.prefix .. '_\\d+_ham', N,
lua_redis.register_prefix(selt.prefix .. '_\\d+_ham_set', N,
string.format('NN learning set (spam) for rule "%s"; settings id "%s"',
rule.prefix, selt.name), {
persistent = true,
type = 'list',
type = 'set',
})
end


正在加载...
取消
保存