From da997fd8e663b236f8224c13341769848ac9efc7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 12 Feb 2017 17:23:12 +0000 Subject: [PATCH] [Minor] Fix plugins to work with the default settings --- src/plugins/lua/clickhouse.lua | 1 - src/plugins/lua/dcc.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 78b83ad2d..e80b5652a 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -28,7 +28,6 @@ local nrows = 0 local settings = { limit = 1000, - server = "localhost:8123", timeout = 5.0, bayes_spam_symbols = {'BAYES_SPAM'}, bayes_ham_symbols = {'BAYES_HAM'}, diff --git a/src/plugins/lua/dcc.lua b/src/plugins/lua/dcc.lua index c5354f0d7..bde9e7983 100644 --- a/src/plugins/lua/dcc.lua +++ b/src/plugins/lua/dcc.lua @@ -105,6 +105,7 @@ local function check_dcc (task) task = task, host = opts['host'], port = opts['port'] or 1, + timeout = opts['timeout'] or 2.0, shutdown = true, data = data, callback = cb -- 2.39.5