mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore: don't retry bootstrap indefinitely
better behavior is to stop after a couple of attempts
This commit is contained in:
@@ -360,7 +360,7 @@ class Telegram(RPCHandler):
|
||||
await asyncio.sleep(2)
|
||||
if self._app.updater:
|
||||
await self._app.updater.start_polling(
|
||||
bootstrap_retries=-1,
|
||||
bootstrap_retries=10,
|
||||
timeout=20,
|
||||
drop_pending_updates=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user