diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-01 14:26:38 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-01 14:28:38 +0200 |
commit | c4081e7107458f7bf86a55ea520a9855d1d7be87 (patch) | |
tree | 383de227941c1b58bd569112bc0fcc3cdd50f01c /src | |
parent | 31e9ec3a264940b74d05e1dd29758264039d224b (diff) | |
download | rspamd-c4081e7107458f7bf86a55ea520a9855d1d7be87.tar.gz rspamd-c4081e7107458f7bf86a55ea520a9855d1d7be87.zip |
[Minor] Set default value for metric exporter statefile
Diffstat (limited to 'src')
-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 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' |