mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-15 20:31:43 +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)
|
await asyncio.sleep(2)
|
||||||
if self._app.updater:
|
if self._app.updater:
|
||||||
await self._app.updater.start_polling(
|
await self._app.updater.start_polling(
|
||||||
bootstrap_retries=-1,
|
bootstrap_retries=10,
|
||||||
timeout=20,
|
timeout=20,
|
||||||
drop_pending_updates=True,
|
drop_pending_updates=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user