improve manual reconnecting

This commit is contained in:
dries.k
2022-03-02 20:05:57 +01:00
parent 01738b8411
commit 150af23fd8
2 changed files with 3 additions and 13 deletions

View File

@@ -175,12 +175,3 @@ class ServerConnectionWatchdogTask(BaseTask):
logger.debug(
"ServerConnectionWatchdogTask: gotify_client is not listening"
)
class SleepTask(BaseTask):
def __init__(self, secs: int):
super(SleepTask, self).__init__()
self.secs = secs
def task(self):
time.sleep(self.secs)