Skip to content

Enable concurrency #3

@scottyeager

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.

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