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: Add support for job priority #10

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Conversation

andoriyu
Copy link
Collaborator

Allows specifying priority when job is enqueued.

Closes #7

BREAKING CHANGE:

  • SCHEMA_SQL is gone. MIGRATOR should be used instead. This means
    ADC must have exclusive rights to SQLx migrations table. Since it's
    rarely the case - use different schema/database for ADC.
  • Interface to Queue for pushing jobs includes priority argument

@github-actions
Copy link

github-actions bot commented Oct 15, 2022

Unit Test Results

10 tests   10 ✔️  0s ⏱️
  2 suites    0 💤
  2 files      0

Results for commit 4f0f970.

♻️ This comment has been updated with latest results.

Allows specifying priority when job is enqueued.

Closes #7

BREAKING CHANGE:

 - `SCHEMA_SQL` is gone. `MIGRATOR` should be used instead. This means
   ADC must have exclusive rights to SQLx migrations table. Since it's
   rarely the case - use different schema/database for ADC.
 - Interface to Queue for pushing jobs includes `priority` argument
@andoriyu andoriyu force-pushed the feature/add_priority_support branch from 90ca73b to 4f0f970 Compare October 15, 2022 23:10
@andoriyu andoriyu merged commit c7fcfee into main Oct 15, 2022
@andoriyu andoriyu deleted the feature/add_priority_support branch October 15, 2022 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for task priorities
1 participant