Skip to content

Cherry pick fix for LP bug 2060104 to Caracal: Adds support for configuring admin and public wsgi app processes#950

Merged
freyes merged 1 commit intojuju:stable/caracalfrom
Raven-182:stable/caracal-wsgi-multipliers
Jan 22, 2026
Merged

Cherry pick fix for LP bug 2060104 to Caracal: Adds support for configuring admin and public wsgi app processes#950
freyes merged 1 commit intojuju:stable/caracalfrom
Raven-182:stable/caracal-wsgi-multipliers

Conversation

@Raven-182
Copy link
Copy Markdown
Contributor

Introduces two new config options to allow independent control of admin and public WSGI worker processes.

  • updates _calculate_workers to accept multiplier
  • updates WSGIWorkerConfigContext to use admin-worker-multiplier and public-worker-multiplier if provided
  • adds associated unit tests
  • fixes linting

Related-Bug: #2060104
(cherry picked from commit 6390c98)

@Raven-182 Raven-182 force-pushed the stable/caracal-wsgi-multipliers branch from e9f4327 to cf3d9ab Compare December 17, 2025 15:01
@freyes freyes closed this Jan 21, 2026
@freyes freyes reopened this Jan 21, 2026
@Raven-182 Raven-182 force-pushed the stable/caracal-wsgi-multipliers branch 2 times, most recently from 40c75ed to e82801e Compare January 22, 2026 15:17
Introduces two new config options to allow independent control of admin and
public WSGI worker processes.
- updates _calculate_workers to accept multiplier
- updates WSGIWorkerConfigContext to use admin-worker-multiplier and public-worker-multiplier if provided
- adds associated unit tests
- fixes linting

Related-Bug: #2060104
(cherry picked from commit 6390c98)
@Raven-182 Raven-182 force-pushed the stable/caracal-wsgi-multipliers branch from e82801e to 8fff958 Compare January 22, 2026 15:28
@freyes freyes merged commit e6be16e into juju:stable/caracal Jan 22, 2026
2 checks passed
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