Skip to content

Enable concurrency #3

Description

@scottyeager

Right now the bot is, as far as I understand, only performing a single operation at a time for all users and background jobs. That's okay in the sense that we don't really have any performance related complaints, but it's not ideal, especially with the ping command in use since this blocks while waiting for a response or timeout.

There is thread based concurrency available in the 13.x version of python-telegram-bot we use now. Before implementing that, it's worth considering updating to the asyncio based 20.x versions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions