This commit is contained in:
əlemi 2022-04-19 11:59:55 +02:00
parent 5527d50ff3
commit c6ff6a6bf7
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -258,6 +258,6 @@ class Treepuncher(
self.logger.exception("Unhandled exception") self.logger.exception("Unhandled exception")
break break
if self._processing: if self._processing:
await asyncio.sleep(self.config['core'].getfloat('reconnect_delay', fallback=5)) await asyncio.sleep(self.config['Treepuncher'].getfloat('reconnect_delay', fallback=5))
if self._processing: if self._processing:
await self.stop(force=True) await self.stop(force=True)