Skip to content

In process scheduler #105

Open
Open

Description

@theobouwman

Is it possible to start the taskiq scheduler when the fast stream app starts? Like in the same program such that it is not needed to run 2 instances (scheduler and worker)?

Activity

  1. theobouwman commented on Nov 2, 2025

    @theobouwman
    Author

    @Lancetnik is this possible?

  2. Lancetnik commented on Nov 2, 2025

    @Lancetnik
    Collaborator

    @theobouwman everything is possible - it's programming. But I don't know how - I didn't use taskiq. Please, check their documentation for an ability to start scheduler from the code

  3. danfimov commented on Nov 5, 2025

    @danfimov
    Member

    As far as I know, there’s currently no convenient way to run the scheduler and the worker at the same time. This is mainly because the worker and scheduler can only be started from the CLI using two different commands: taskiq worker and taskiq scheduler. There’s also no proper interface to run them directly from code.

    Additionally, it’s generally not recommended to run the scheduler together with the worker, since you should have only one instance of the scheduler but potentially multiple workers.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions