plugins/mod_s2s.lua
changeset 12315 bc30e1b9ad89
parent 12313 926a6c5d13e7
child 12366 0fd58f54d653
--- a/plugins/mod_s2s.lua	Tue Feb 22 14:17:10 2022 +0100
+++ b/plugins/mod_s2s.lua	Tue Feb 22 14:17:27 2022 +0100
@@ -973,7 +973,7 @@
 		end
 	end
 
-	local wait, done = async.waiter();
+	local wait, done = async.waiter(1, true);
 	module:hook("s2s-closed", function ()
 		if next(sessions) == nil then done(); end
 	end, 1)