Skip to content

[QUESTION] Repeated task: Multiple executions when using multiple workers #230

@LindezaGrey

Description

@LindezaGrey

Hey there,

when i use repeated task in production with a docker gunicorn/uvicorn image there are multiple instances of the application running, each one with the repeated task.
So for example i want to send notifications periodically, the notification will get send multiple times (number of workers)
My workaround for this would be to run a separate container with only one worker, which is then responsible for the repeated task. Is my usecase out of scope or is there a better solution?

best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions