diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-01 14:27:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 14:27:42 +0000 |
commit | 85761797e07fc4ef8159a301fd7ea7ad733c07a2 (patch) | |
tree | 784df02babf919e5a88c1ebdd5f3cd6a7da8c758 /src | |
parent | 02cff9682886e2e7ef4e67e88541b46d84e8f0e1 (diff) | |
parent | c4081e7107458f7bf86a55ea520a9855d1d7be87 (diff) | |
download | rspamd-85761797e07fc4ef8159a301fd7ea7ad733c07a2.tar.gz rspamd-85761797e07fc4ef8159a301fd7ea7ad733c07a2.zip |
Merge pull request #1085 from fatalbanana/exporter
[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 39a02665b..fac17c40e 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' |