From 559e371e0af20afee9191368bccf9892ad7138dd Mon Sep 17 00:00:00 2001 From: Mehmet Suslu Date: Fri, 10 Dec 2021 18:39:39 +0300 Subject: [PATCH] Update clickhouse.lua fix typo collect_garbadge -> collect_garbage --- src/plugins/lua/clickhouse.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 97c66946d..7a2e276ee 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 -- 2.39.5