Skip to content

Is it possible to enable retry mechanism by default #1291

@ofen

Description

@ofen

I find retry mechanism implementation in telebot/apihelper.py is quite useful due to network nature. Is it possible to enable it by default (see https://github.com/eternnoir/pyTelegramBotAPI/blob/master/telebot/apihelper.py#L38)?

P.S. currently it could be enabled manually via

import telebot

telebot.apihelper.RETRY_ON_ERROR = True
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions