Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Made heartbeats more configurable. #51

Merged
merged 2 commits into from
Dec 17, 2022

Conversation

NaoUnderscore
Copy link
Contributor

Changelog

Added Config::HeartbeatSpanMaxThreshold and Config::HeartbeatRestartInSeconds fields.

Config::HeartbeatSpanMaxThreshold will be read as soon as LocalAdmin::HeartbeatStopwatch::ElapsedMilliseconds reaches the specified threshold.

Config::HeartbeatRestartInSeconds will be read as soon as LocalAdmin::HeartbeatWarningStage reaches the specified value, allowing people to decide the amount of time the server will take to restart the game.

LocalAdmin::Menu is now a static method, as it doesn't seem to interact with the current LocalAdmin instance.

Suppressed warnings from JsonGenerated; re-organized variables declarations in LocalAdmin.
Added JSON/Schemas to .gitignore file.


An issue has been addressed on EXILED due to hardcoded values not permitting people to load the server in case of bad hardware, too many plugins in queue (Exiled::Loader), etc.

@zabszk zabszk self-assigned this Dec 17, 2022
@zabszk zabszk merged commit 79cccc3 into northwood-studios:master Dec 17, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants