commit 86b6603: [Fix] Clickhouse: Fix periodic script
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Nov 4 13:07:11 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-11-04 13:02:37 +0000
URL: https://github.com/rspamd/rspamd/commit/86b6603191816516d196d252e14f5c692b8c7887 (HEAD -> master)
[Fix] Clickhouse: Fix periodic script
---
src/plugins/lua/clickhouse.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index cd9d992d8..878a15064 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -930,7 +930,7 @@ local function clickhouse_maybe_send_data_periodic(cfg, ev_base, now)
end
if settings.limits.max_rows > 0 then
- if nrows > settings.max_rows then
+ if nrows > settings.limits.max_rows then
need_collect = true
reason = string.format('limit of rows has been reached: %d', nrows)
end
More information about the Commits
mailing list