changeset 6375:2468bd4ec025

mod_benchmark_storage: Switch to prosody.util.time.now() to get the current time
author Link Mauve <linkmauve@linkmauve.fr>
date Fri, 30 Jan 2026 15:03:44 +0100
parents 1ed4c8769288
children ff1499e348f8
files mod_benchmark_storage/mod_benchmark_storage.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_benchmark_storage/mod_benchmark_storage.lua	Fri Jan 30 15:03:37 2026 +0100
+++ b/mod_benchmark_storage/mod_benchmark_storage.lua	Fri Jan 30 15:03:44 2026 +0100
@@ -3,7 +3,7 @@
 --
 -- Prime numbers are pretty cool
 
-local gettime = require"socket".gettime;
+local gettime = require "prosody.util.time".now;
 
 local sm = require"core.storagemanager";
 local um = require"core.usermanager";