|
@@ -960,7 +960,7 @@ class User(DBUser, BaseUser):
|
|
error_code="ig-connection-error-maybe-auth",
|
|
error_code="ig-connection-error-maybe-auth",
|
|
)
|
|
)
|
|
self.mqtt.disconnect()
|
|
self.mqtt.disconnect()
|
|
- background_task.create(self.fetch_user_and_reconnect())
|
|
|
|
|
|
+ background_task.create(self.fetch_user_and_reconnect(sleep_first=60))
|
|
except Exception as e:
|
|
except Exception as e:
|
|
self.log.exception("Fatal error in listener, reconnecting in 5 minutes")
|
|
self.log.exception("Fatal error in listener, reconnecting in 5 minutes")
|
|
await self.send_bridge_notice(
|
|
await self.send_bridge_notice(
|