Skip to content

Configuration hot-reloading #620

@aumetra

Description

@aumetra

Is your feature request related to a problem? Please describe.

Right now admins need to fully restart Kitsune to roll out simple configuration changes. This can result in downtime and maybe even lost posts from a user-side (depending on how reliable the clients are).

Describe the solution you'd like

notify-based reloading of the configuration file. The configuration file will then be replaced with the new one. For all state-relevant replacement things, we could trigger a dynamic rebuilding of the axum state, and replace it via ArcSwap.

Describe alternatives you've considered

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions