hot reloading support #6
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Bug
Feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Solarpunk/meowy-webring#6
Loading…
Reference in a new issue
No description provided.
Delete branch "hot-reloading"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this pull request adds hot reloading support which let's you edit the names.json file while the server is running and it will read the config into the global state and the server will have access to the new data.
this is implemented with a global state using a OnceLock and a Mutex and the notify crate. the notify crate is running in another thread that allows blocking.