Wait more time to initialize

This commit is contained in:
alfrix 2022-07-11 19:48:06 -03:00 committed by Alfredo Monclus
parent 6510b2ec6b
commit aa5f91a548

View File

@ -49,7 +49,7 @@ class KlippyWebsocket(threading.Thread):
def initial_connect(self):
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
self.reconnect_timeout = GLib.timeout_add_seconds(6, self.reconnect)
self.connect()
def connect(self):