diff options
Diffstat (limited to 'conf.d/project/lua.d/onload-daemon-10-event.lua')
-rw-r--r-- | conf.d/project/lua.d/onload-daemon-10-event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/project/lua.d/onload-daemon-10-event.lua b/conf.d/project/lua.d/onload-daemon-10-event.lua index c0b21f9..474ebe0 100644 --- a/conf.d/project/lua.d/onload-daemon-10-event.lua +++ b/conf.d/project/lua.d/onload-daemon-10-event.lua @@ -45,7 +45,7 @@ function _Simple_Timer_Test (request, client) -- if event does not exit create it now. if (_MyContext["event"] == nil) then _MyContext["event"]= AFB:evtmake(client["label"]) - end + end -- if delay not defined default is 5s if (client["delay"]==nil) then client["delay"]=5000 end @@ -67,7 +67,7 @@ function _Simple_Timer_Test (request, client) -- settimer take a table with delay+count as input (count==0 means infinite) AFB:timerset (myTimer, "_Timer_Test_CB", context) - -- nothing special to return send back + -- nothing special to return send back AFB:success (request, myTimer) return 0 |