Software /
code /
prosody
Changeset
7646:6210dfaec84f
moduleapi: 'duration' became 'times'
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 31 Aug 2016 16:10:16 +0100 |
parents | 7645:d7b1bc069c12 |
children | 7647:e9d7a409e236 7648:d91ef1e6afc2 |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/moduleapi.lua Wed Aug 31 16:10:00 2016 +0100 +++ b/core/moduleapi.lua Wed Aug 31 16:10:16 2016 +0100 @@ -412,7 +412,7 @@ end function api:measure_object_event(events_object, event_name, stat_name) - local m = self:measure(stat_name or event_name, "duration"); + local m = self:measure(stat_name or event_name, "times"); local function handler(handlers, _event_name, _event_data) local finished = m(); local ret = handlers(_event_name, _event_data);