Skip to content

Fix race condition in config file parsing#291

Open
jessefaler wants to merge 1 commit intopterodactyl:developfrom
jessefaler:fix/parser-race
Open

Fix race condition in config file parsing#291
jessefaler wants to merge 1 commit intopterodactyl:developfrom
jessefaler:fix/parser-race

Conversation

@jessefaler
Copy link
Copy Markdown

Add file locking and syncing to prevent server processes from reading config files while they're being updated. Also document that json.Marshal(config.Get()) is used to resolve {{config.*}} placeholders.

Add file locking and syncing to prevent server processes from reading
config files while they're being updated. Also document that
json.Marshal(config.Get()) is used to resolve {{config.*}} placeholders.
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