Software /
code /
prosody-modules
Comparison
mod_log_slow_events/mod_log_slow_events.lua @ 2850:3ba8fd1a297e
mod_log_slow_events: Also catch global events
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 21 Nov 2017 23:01:20 +0100 |
parent | 2849:5e74028557dc |
comparison
equal
deleted
inserted
replaced
2849:5e74028557dc | 2850:3ba8fd1a297e |
---|---|
55 end | 55 end |
56 | 56 |
57 local http_events = require "net.http.server"._events; | 57 local http_events = require "net.http.server"._events; |
58 module:wrap_object_event(http_events, false, event_wrapper); | 58 module:wrap_object_event(http_events, false, event_wrapper); |
59 | 59 |
60 module:wrap_event(false, event_wrapper); | |
60 function module.add_host(module) | 61 function module.add_host(module) |
61 module:wrap_event(false, event_wrapper); | 62 module:wrap_event(false, event_wrapper); |
62 end | 63 end |