From c4081e7107458f7bf86a55ea520a9855d1d7be87 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 1 Nov 2016 14:26:38 +0200 Subject: [Minor] Set default value for metric exporter statefile --- src/plugins/lua/metric_exporter.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/lua') diff --git a/src/plugins/lua/metric_exporter.lua b/src/plugins/lua/metric_exporter.lua index c4a0cdc0e..3c8ae66e5 100644 --- a/src/plugins/lua/metric_exporter.lua +++ b/src/plugins/lua/metric_exporter.lua @@ -24,6 +24,7 @@ local pool = mempool.create() local settings = { interval = 120, timeout = 15, + statefile = string.format('%s/%s', rspamd_paths['DBDIR'], 'metric_exporter_last_push') } local VAR_NAME = 'metric_exporter_last_push' -- cgit v1.2.3