Skip to content

Make pm.max_requests configurable - #2143

Open
m-breitbach wants to merge 2 commits into
nextcloud:develfrom
m-breitbach:devel
Open

Make pm.max_requests configurable#2143
m-breitbach wants to merge 2 commits into
nextcloud:develfrom
m-breitbach:devel

Conversation

@m-breitbach

@m-breitbach m-breitbach commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Untested, please review carefully. AI used for translations only.

Given how the config mechanism works, it is impossible to set the value to zero (for disabling the limit, the old behavior). I guess this is acceptable for now.

Anyways, the whole config mechanism is a bit wild. The default value lives in three places. I think in an ideal solution, there would be exactly one default defined in .cfg. One could think about displaying it in the ncp-config CLI, say, in gray, when the input field is emptied. Instead of 0, there could be a placeholder like 'auto', leaving 0 as actually possible value. Just thinking out loud.

@m-breitbach m-breitbach changed the title Devel Make pm.max_requests configurable Sep 6, 2026
Moritz Breitbach added 2 commits September 6, 2026 21:32
Signed-off-by: Moritz Breitbach <moritz.breitbach@moetek.de>
Signed-off-by: Moritz Breitbach <moritz.breitbach@moetek.de>
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.

1 participant