commit 559e371: Update clickhouse.lua

GitHub noreply at github.com
Fri Dec 10 16:28:04 UTC 2021


Author: Mehmet Suslu
Date: 2021-12-10 18:39:39 +0300
URL: https://github.com/rspamd/rspamd/commit/559e371e0af20afee9191368bccf9892ad7138dd

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


More information about the Commits mailing list