summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/controller/lua.d/aft.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua
index 6fd1882..e1b3d20 100644
--- a/conf.d/controller/lua.d/aft.lua
+++ b/conf.d/controller/lua.d/aft.lua
@@ -151,6 +151,7 @@ function _AFT.lockwait(eventName, timeout)
while timeout > 0 do
timeout = AFB:lockwait(_AFT.context, timeout)
+ AFB:lockwait(_AFT.context, 0) --without it ev catcher cannot received event
if _AFT.monitored_events[eventName].receivedCount == count + 1 then
return 1
end