some supervisor bugfixes

This commit is contained in:
Mikayla Fischler
2022-04-24 13:22:45 -04:00
parent 74168707c6
commit 074f6448e1
4 changed files with 7 additions and 7 deletions

View File

@@ -348,7 +348,7 @@ function new_session(id, for_reactor, in_queue, out_queue)
local elapsed = os.clock() - self.periodics.last_update
self.periodics.keep_alive += elapsed
self.periodics.keep_alive = self.periodics.keep_alive + elapsed
if self.periodics.keep_alive >= PERIODICS.KEEP_ALIVE then
_send(RPLC_TYPES.KEEP_ALIVE, { os.epoch() })