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

Maintenance: make more settings runtime writable where possible #15754

Open
wants to merge 1 commit into
base: release/14.2
Choose a base branch
from

Conversation

machisuji
Copy link
Member

@machisuji machisuji commented Jun 5, 2024

In many places we use OpenProject::Configuration instead of Setting where there is no need to do so. This only artificially limits the time these options can be changed. For all the calls in this PR it would make sense to allow changing them at runtime, too.

This is mostly relevant in a setup where the environment variables cannot be changed globally, such as our cloud.

Uses in initializers are excluded from this change explicitly because most of the time these will not be changeable at runtime anyway.

@machisuji machisuji force-pushed the maintenance/make-more-settings-runtime-writable-where-possible branch 3 times, most recently from d7ca1bb to d2048a8 Compare June 6, 2024 08:25
@machisuji machisuji changed the base branch from release/14.1 to release/14.2 June 6, 2024 08:26
the change of which was articifically limited to start-time only
@machisuji machisuji force-pushed the maintenance/make-more-settings-runtime-writable-where-possible branch from d2048a8 to b509dec Compare June 6, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant