aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-15 09:09:24 +0100
committerKim Alvefur <zash@zash.se>2022-01-15 09:09:24 +0100
commite0e180aa9d9cac1e427ac23be49aca0c4059f755 (patch)
tree39a502fddbd20104aa7b40707b0791e0d45894c7 /core/hostmanager.lua
parent9767804146df64fc0ce91896994616ff910fa8ee (diff)
downloadprosody-e0e180aa9d9cac1e427ac23be49aca0c4059f755.tar.gz
prosody-e0e180aa9d9cac1e427ac23be49aca0c4059f755.zip
mod_cron: Allow for a small amount of timer drift
If the timer activates a bit early then a task might be just a few seconds short of being allowed to run. This would run such a task rather than wait another hour. The value 0.5% chosen so that a weekly task does not run an entire hour earlier than last time.
Diffstat (limited to 'core/hostmanager.lua')
0 files changed, 0 insertions, 0 deletions