Skip to content

Problems with run_repeating #1701

@Suhoy571

Description

@Suhoy571

Hi!
After update to version 12.3, this code start to work wrong. The first command that sends is get_links_state, than, after one second, sends get_alarms_state. After rollback to version 12.2.0 all started to work normally. Code remains unchanged.
Sorry for mistakes, English isn`t my mother tongue)
Code:

    updater = Updater("TOKEN", use_context=True)
    queue_updater = updater.job_queue

    queue_updater.run_repeating(get_alarms_state, interval=60, first=0)
    queue_updater.run_repeating(get_links_state, interval=70, first=20)

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