Skip to content

packages/django-dramatiq-postgres: add index for (queue_name, state, eta) - #21175

Merged
rissson merged 2 commits into
mainfrom
tasks-index
Mar 26, 2026
Merged

rissson merged 2 commits into
mainfrom
tasks-index

Conversation

@rissson

@rissson rissson commented Mar 26, 2026

Copy link
Copy Markdown
Member

Details

closes #21150


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema and clients have been updated (make gen)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@rissson rissson self-assigned this Mar 26, 2026
@rissson
rissson requested a review from a team as a code owner March 26, 2026 13:15
@rissson
rissson enabled auto-merge (squash) March 26, 2026 13:15
indexes = (
models.Index(fields=("queue_name",)),
models.Index(fields=("queue_name", "state")),
models.Index(fields=("queue_name", "state", "eta")),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to add some comments here at some point explaining why it's needed or where it's used

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Mar 26, 2026
@netlify

netlify Bot commented Mar 26, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a1bb5bd
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69c5316b9dd79500080f1cbb
😎 Deploy Preview https://deploy-preview-21175--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Mar 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.77%. Comparing base (31ab7e3) to head (02103fd).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21175      +/-   ##
==========================================
- Coverage   92.81%   92.77%   -0.05%     
==========================================
  Files        1000     1000              
  Lines       56627    56627              
  Branches      425      425              
==========================================
- Hits        52559    52534      -25     
- Misses       4068     4093      +25     
Flag Coverage Δ
conformance 37.37% <ø> (+<0.01%) ⬆️
e2e 42.86% <ø> (+<0.01%) ⬆️
integration 22.16% <ø> (-0.05%) ⬇️
rust 0.23% <ø> (ø)
unit 91.06% <ø> (-0.65%) ⬇️
unit-migrate 91.80% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rissson
rissson merged commit 1d06d96 into main Mar 26, 2026
147 of 153 checks passed
@rissson
rissson deleted the tasks-index branch March 26, 2026 18:13
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Mar 26, 2026
kensternberg-authentik added a commit that referenced this pull request Apr 8, 2026
* main:
  website/integrations: add OAUTH_AUTO_REDIRECT for karakeep (#21180)
  website/integrations: beszel: add email scope (#21176)
  web: lint/small type errors (#21179)
  packages/django-dramatiq-postgres: add index for (queue_name, state, eta) (#21175)
  root: add git attributes for generated/vendored (#21177)
  web: bump vite from 8.0.2 to 8.0.3 in /web (#21171)
  core, web: Vendored client follow-ups (#21174)
  website: Enable gtag in production (#21151)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

use indexes for frequently query to task table

2 participants