diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-13 21:06:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-13 21:06:01 +0100 |
commit | 12aeaa15c77b65b09d1f065f2cb89dfb781f92c9 (patch) | |
tree | a84dabd34e84b45bb19d4c49e9e836f8cb996dfc /src/plugins/lua/metric_exporter.lua | |
parent | 5e5552c424e856419a2b5261bf496d91328b8ac1 (diff) | |
download | rspamd-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.lua | 1 |
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'], |