# HG changeset patch # User Link Mauve # Date 1769781830 -3600 # Node ID ff1499e348f847c5399e056ba5a7f6b7d98aa321 # Parent 2468bd4ec025bc73af71a2faf07c6ea6ec917532 mod_host_status_check: Switch to prosody.util.time.now() to get the current time diff -r 2468bd4ec025 -r ff1499e348f8 mod_host_status_check/mod_host_status_check.lua --- a/mod_host_status_check/mod_host_status_check.lua Fri Jan 30 15:03:44 2026 +0100 +++ b/mod_host_status_check/mod_host_status_check.lua Fri Jan 30 15:03:50 2026 +0100 @@ -1,4 +1,4 @@ -local time = require "socket".gettime; +local time = require "prosody.util.time".now; local heartbeats = module:shared("/*/host_status_check/heartbeats"); local connection_events = module:shared("/*/host_status_check/connection_events");