aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/metric_exporter.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-13 21:06:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-13 21:06:01 +0100
commit12aeaa15c77b65b09d1f065f2cb89dfb781f92c9 (patch)
treea84dabd34e84b45bb19d4c49e9e836f8cb996dfc /src/plugins/lua/metric_exporter.lua
parent5e5552c424e856419a2b5261bf496d91328b8ac1 (diff)
downloadrspamd-12aeaa15c77b65b09d1f065f2cb89dfb781f92c9.tar.gz
rspamd-12aeaa15c77b65b09d1f065f2cb89dfb781f92c9.zip
[Minor] Pass rspamd_config to taskless TCP requests
Diffstat (limited to 'src/plugins/lua/metric_exporter.lua')
-rw-r--r--src/plugins/lua/metric_exporter.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/metric_exporter.lua b/src/plugins/lua/metric_exporter.lua
index c28e58560..4951e6594 100644
--- a/src/plugins/lua/metric_exporter.lua
+++ b/src/plugins/lua/metric_exporter.lua
@@ -123,6 +123,7 @@ local function graphite_push(kwargs)
tcp.request({
ev_base = kwargs['ev_base'],
+ config = rspamd_config,
pool = pool,
host = settings['host'],
port = settings['port'],