Secure inputs to scheduler so that they don't get recognised when executing the schedule
This commit is contained in:
parent
986c8fcf92
commit
27f85f2e22
|
@ -69,6 +69,9 @@ end
|
||||||
|
|
||||||
function sched.enqueue(rwtime, handler, evtdata, unitid, unitlim)
|
function sched.enqueue(rwtime, handler, evtdata, unitid, unitlim)
|
||||||
local qtime = ln.rwt.to_secs(rwtime)
|
local qtime = ln.rwt.to_secs(rwtime)
|
||||||
|
assert(type(handler)=="string")
|
||||||
|
assert(type(unitid)=="string")
|
||||||
|
assert(type(unitlim)=="number")
|
||||||
|
|
||||||
local cnt=1
|
local cnt=1
|
||||||
local ucn, elem
|
local ucn, elem
|
||||||
|
|
Loading…
Reference in New Issue