We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b25e85 commit 6418202Copy full SHA for 6418202
mautrix_telegram/abstract_user.py
@@ -253,7 +253,7 @@ def _schedule_reconnect(self) -> None:
253
reconnect_interval,
254
time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(refresh_time)),
255
)
256
- self.loop.call_later(reconnect_interval, lambda: asyncio.create_task(self._reconnect()))
+ self.loop.call_later(reconnect_interval, lambda: background_task.create(self._reconnect()))
257
258
async def _reconnect(self) -> None:
259
self.log.info("Reconnecting to Telegram...")
0 commit comments