Mercurial > prosody-modules
view mod_measure_registration/mod_measure_registration.lua @ 4948:b171ddf1bc3e
mod_rest: Treat archive.ids as comma-separated to work in query string
Can't easily put an array into a query string. Hope nobody puts commas
into their archive ids.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 21 May 2022 22:55:41 +0200 |
parents | 32d9d155a9b9 |
children |
line wrap: on
line source
local count_registering = module:measure("user_registering", "rate"); local count_registered = module:measure("user_registered", "rate"); module:hook("user-registering", function () count_registering(); end); module:hook("user-registered", function () count_registered(); end);