From: Mehmet Suslu Date: Fri, 10 Dec 2021 15:39:39 +0000 (+0300) Subject: Update clickhouse.lua X-Git-Tag: 3.2~169^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=559e371e0af20afee9191368bccf9892ad7138dd;p=thirdparty%2Frspamd.git Update clickhouse.lua fix typo collect_garbadge -> collect_garbage --- diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 97c66946de..7a2e276eeb 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -1057,7 +1057,7 @@ local function clickhouse_maybe_send_data_periodic(cfg, ev_base, now) clickhouse_send_data(nil, ev_base, reason, saved_rows, saved_custom) - if settings.collect_garbadge then + if settings.collect_garbage then collectgarbage() end end @@ -1484,7 +1484,7 @@ if opts then clickhouse_send_data(task, nil, 'final collection', saved_rows, saved_custom) - if settings.collect_garbadge then + if settings.collect_garbage then collectgarbage() end end