view mod_log_events_by_cpu_usage/README.markdown @ 4690:82dabfffaddf

mod_muc_require_tos: Add this new module
author Emmanuel Gil Peyrot <>
date Thu, 16 Sep 2021 20:41:14 +0200
parents c0bc97c0ba61
line wrap: on
line source

This module logs events where more than a certain amount of CPU time was

``` lua
log_cpu_threshold = 0.01 -- in seconds, so this is 10 milliseconds

Uses the Lua
function to estimate CPU usage.