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

Closes #16971: Add system jobs #17716

Open
wants to merge 13 commits into
base: feature
Choose a base branch
from

Commits on Oct 11, 2024

  1. Fix check for existing jobs

    If a job is to be enqueued once and no specific scheduled time is
    specified, any scheduled time of existing jobs will be valid. Only if a
    specific scheduled time is specified for 'enqueue_once()' can it be
    evaluated.
    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    892c54f View commit details
    Browse the repository at this point in the history
  2. Allow system jobs to be registered

    A new registry key allows background system jobs to be registered and
    automatically scheduled when rqworker starts.
    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1f103ed View commit details
    Browse the repository at this point in the history
  3. Test scheduling of system jobs

    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ab3ac3c View commit details
    Browse the repository at this point in the history
  4. Fix plugins scheduled job documentation

    The documentation reflected a non-production state of the JobRunner
    framework left over from development. Now a more practical example
    demonstrates the usage.
    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    39e5c0d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d7b03ee View commit details
    Browse the repository at this point in the history
  6. Rename system job metadata

    To clarify which meta-attributes belong to system jobs, each of them is
    now prefixed with 'system_'.
    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3e10d9a View commit details
    Browse the repository at this point in the history
  7. Add predefined job interval choices

    alehaa authored and jeremystretch committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8a8c328 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. Remove 'system_enabled' JobRunner attribute

    Previously, the 'system_enabled' attribute was used to control whether a
    job should run or not. However, this can also be accomplished by
    evaluating the job's interval.
    alehaa committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    d964b55 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    49e0ea7 View commit details
    Browse the repository at this point in the history
  2. Fix test

    jeremystretch committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    2bd45d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5662015 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b192c9 View commit details
    Browse the repository at this point in the history
  5. Update documentation

    jeremystretch committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    89a976f View commit details
    Browse the repository at this point in the history