aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-06-11 21:11:01 +0100
committerMatthew Wild <mwild1@gmail.com>2022-06-11 21:11:01 +0100
commit49a9d5e4274c26272761656d3fdaa6b2509c90f5 (patch)
treed47be96ee4710acebfbe4f1e910c59b603d46d57 /net/http
parent325900b248f8e89cdcf43d6edf66fa5a30d930d2 (diff)
downloadprosody-49a9d5e4274c26272761656d3fdaa6b2509c90f5.tar.gz
prosody-49a9d5e4274c26272761656d3fdaa6b2509c90f5.zip
util.watchdog: Update to use "new" util.timer API
When this module was written, it wasn't possible to cancel or reschedule a timer. Times have changed, and we should take advantage of those new methods. This module becomes a very thin wrapper around util.timer now, but I'd argue it's still a very common and useful concept/abstraction to have around. Possible API change: this removes the 'last_reset' field of the watchdog. This was never really intended as a public thing, and I can't find any code that uses it, so I consider removal to be safe.
Diffstat (limited to 'net/http')
0 files changed, 0 insertions, 0 deletions