From: Andrew Lewis Date: Tue, 1 Nov 2016 12:26:38 +0000 (+0200) Subject: [Minor] Set default value for metric exporter statefile X-Git-Tag: 1.4.0~148^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1085%2Fhead;p=rspamd.git [Minor] Set default value for metric exporter statefile --- 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'