mod_log_slow_events: Also catch global events

Tue, 21 Nov 2017 23:01:20 +0100

author
Kim Alvefur <zash@zash.se>
date
Tue, 21 Nov 2017 23:01:20 +0100
changeset 2850
3ba8fd1a297e
parent 2849
5e74028557dc
child 2851
4b10636bd743

mod_log_slow_events: Also catch global events

mod_log_slow_events/mod_log_slow_events.lua file | annotate | diff | comparison | revisions
--- 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

mercurial