web pings before starting the scheduler

This commit is contained in:
Adam Saudagar 2022-03-18 10:33:39 +05:30
parent b67c047f0c
commit 35e27f277b

View File

@ -19,6 +19,7 @@ class active:
@staticmethod
def start():
web.ping()
active._scheduler.enter_recurring(60, 1, web.ping)
logging.debug("active scheduler started")