Software /
code /
prosody
Changeset
10884:6992c4be1a19
core.statsmanager: Allow passing a config table trough measure
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Jan 2019 07:00:44 +0100 |
parents | 10883:d75d805c852f |
children | 10885:2f751880767c |
files | core/statsmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/statsmanager.lua Fri Jan 04 06:56:45 2019 +0100 +++ b/core/statsmanager.lua Fri Jan 04 07:00:44 2019 +0100 @@ -60,9 +60,9 @@ local stats_extra = {}; if stats then - function measure(type, name) + function measure(type, name, conf) local f = assert(stats[type], "unknown stat type: "..type); - return f(name); + return f(name, conf); end if stats_interval then