This commit is contained in:
Tangent 2019-06-28 19:38:09 -07:00
parent 624bd9c2f6
commit bfe5084eef

View File

@ -7,7 +7,7 @@ add_job = (interval, name, fn, init) ->
run = (premature, arg) ->
if premature return
thread_lock = lock\new "worker". { timeout: 0, exptime: interval }
thread_lock = lock\new "worker", { timeout: 0, exptime: interval }
if thread_lock\lock "t#{name}"
time_lock = lock\new "worker", { exptime: interval }