Mercurial > prosody-modules
changeset 6385:75838904791e
mod_benchmark_storage: Use util.time instead of prosody.util.time, for 0.12 compatibility
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 01 Feb 2026 14:09:07 +0100 |
| parents | 579d6f4dc2cf |
| children | 547feb8181eb |
| files | mod_benchmark_storage/mod_benchmark_storage.lua |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_benchmark_storage/mod_benchmark_storage.lua Fri Jan 30 15:04:36 2026 +0100 +++ b/mod_benchmark_storage/mod_benchmark_storage.lua Sun Feb 01 14:09:07 2026 +0100 @@ -3,7 +3,7 @@ -- -- Prime numbers are pretty cool -local gettime = require "prosody.util.time".now; +local gettime = require "util.time".now; local sm = require"core.storagemanager"; local um = require"core.usermanager"; @@ -61,10 +61,10 @@ -- 23 usernames test_users = { - "tritonymph"; "ankylotomy"; "tron"; "barbaric"; "twiddler"; - "spiritful"; "unmollifiably"; "suggestion"; "presubsistence"; - "unneeded"; "taxemic"; "teloteropathic"; "nonbending"; "mev"; - "septifragally"; "clame"; "obsolescent"; "unconceivable"; + "tritonymph"; "ankylotomy"; "tron"; "barbaric"; "twiddler"; + "spiritful"; "unmollifiably"; "suggestion"; "presubsistence"; + "unneeded"; "taxemic"; "teloteropathic"; "nonbending"; "mev"; + "septifragally"; "clame"; "obsolescent"; "unconceivable"; "foolishly"; "conjunctur"; "precirculation"; "bethump"; "vermivorous"; };
