Skip to content

Singleton Celery tasks for refresh prediction #20

@guillesanz21

Description

@guillesanz21

Improve the redis lock so it returns the task id (pass it into the arguments).
The lock should only be executed when a predictor is being trained, not before creating it.
It should chain the tasks (if in the second iteration, the predictor is being trained by a previous iteration, then chain it before that training task).

See:
#18 (comment)
#18 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions