Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🎸 replace Queue.add_job with Queue.upsert_job #694

Merged
merged 3 commits into from
Jan 23, 2023

Commits on Jan 23, 2023

  1. feat: 🎸 replace Queue.add_job with Queue.upsert_job

    upsert_job ensures there is only one waiting job for the same set of
    parameters. On every call to upsert_job, all the previous waiting jobs
    for the same set of parameters are cancelled, and a new one is created,
    with a new "created_at" date, which means it will be put at the end of
    the queue. It will help to fight against datasets that are updated very
    often (eg every minute): they will be treated only when there is
    available workers.
    severo committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    8e46be0 View commit details
    Browse the repository at this point in the history
  2. feat: 🎸 update libcommon

    severo committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    9ab3e6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    092babe View commit details
    Browse the repository at this point in the history