Skip to content

root: make Celery worker concurrency configurable#6837

Merged
BeryJu merged 3 commits intogoauthentik:mainfrom
a-gerhard:celery_worker_config
Sep 26, 2023
Merged

root: make Celery worker concurrency configurable#6837
BeryJu merged 3 commits intogoauthentik:mainfrom
a-gerhard:celery_worker_config

Conversation

@a-gerhard
Copy link
Contributor

To work around #6815, but also because it'd be a good idea in general, I made it possible to configure Celery worker concurrency in a single worker.

@a-gerhard a-gerhard requested a review from a team as a code owner September 11, 2023 10:53
@a-gerhard a-gerhard requested review from BeryJu and removed request for a team September 11, 2023 10:53
@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit bfaf74c
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6512b0f7dc94cc0008ae0bf2
😎 Deploy Preview https://deploy-preview-6837--authentik-storybook.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 site configuration.

@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit bfaf74c
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/6512b0f7e398000008b66e5b
😎 Deploy Preview https://deploy-preview-6837--authentik.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 80 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e807f9f) 44.71% compared to head (bfaf74c) 92.71%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6837       +/-   ##
===========================================
+ Coverage   44.71%   92.71%   +48.00%     
===========================================
  Files         567      567               
  Lines       27959    27959               
===========================================
+ Hits        12500    25920    +13420     
+ Misses      15459     2039    -13420     
Flag Coverage Δ
e2e 51.12% <ø> (+6.41%) ⬆️
integration 26.27% <ø> (?)
unit 89.61% <ø> (?)

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

Files Coverage Δ
authentik/root/settings.py 87.91% <ø> (ø)

... and 423 files with indirect coverage changes

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

a-gerhard and others added 3 commits September 26, 2023 12:21
Signed-off-by: Jens L. <jens@beryju.org>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the celery_worker_config branch from 056516b to bfaf74c Compare September 26, 2023 10:22
@BeryJu BeryJu requested review from a team as code owners September 26, 2023 10:22
@BeryJu BeryJu changed the title root: made Celery worker concurrency configurable root: make Celery worker concurrency configurable Sep 26, 2023
@BeryJu BeryJu enabled auto-merge (squash) September 26, 2023 10:24
@BeryJu BeryJu merged commit 0e59526 into goauthentik:main Sep 26, 2023
kensternberg-authentik added a commit that referenced this pull request Sep 27, 2023
* main: (41 commits)
  root: fix missing /lifecycle in path
  website/blog: add info-block to blog about m2m (#7002)
  root: handle SIGHUP and SIGUSR2, healthcheck gunicorn (#6630)
  flows: stage_invalid() makes flow restart depending on invalid_response_action setting (#6780)
  core: bump psycopg from 3.1.11 to 3.1.12 (#6997)
  core: bump pydantic from 2.4.0 to 2.4.1 (#6998)
  web: bump the sentry group in /web with 2 updates (#6999)
  web: bump pyright from 1.1.328 to 1.1.329 in /web (#7000)
  website/blog: improved sentence (#6995)
  website/blog: fix missing link in m2m post (#6994)
  web/user: fix incorrect link to admin interface (#6993)
  root: disable APPEND_SLASH (#6928)
  root: replace boj/redistore with vendored version of rbcervilla/redisstore (#6988)
  sources/ldap: add default property mapping to mirror directory structure (#6990)
  website/blogs: Blog about m2m (#6974)
  root: make Celery worker concurrency configurable (#6837)
  root: make postgres connection in makefile customizable (#6977)
  core: prevent self-impersonation (#6885)
  web: bump @typescript-eslint/parser from 6.7.2 to 6.7.3 in /web (#6984)
  core: bump pydantic from 2.3.0 to 2.4.0 (#6979)
  ...
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.

2 participants