Changeset

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
parents 2849:5e74028557dc
children 2851:4b10636bd743
files mod_log_slow_events/mod_log_slow_events.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_log_slow_events/mod_log_slow_events.lua	Tue Nov 21 23:00:21 2017 +0100
+++ b/mod_log_slow_events/mod_log_slow_events.lua	Tue Nov 21 23:01:20 2017 +0100
@@ -57,6 +57,7 @@
 local http_events = require "net.http.server"._events;
 module:wrap_object_event(http_events, false, event_wrapper);
 
+module:wrap_event(false, event_wrapper);
 function module.add_host(module)
 	module:wrap_event(false, event_wrapper);
 end