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

Config Option - Only Render Territories Upon Startup #1768

Merged

Conversation

dmccoystephenson
Copy link
Member

Problem

Rendering territories is causing a lot of lag for some servers.

Solution

This PR introduces a config option to prevent the rendering of territories after the initial startup of the server. This limits the lag spike to one instance per session.

Testing

This was used by a server owner in the community and their TPS improved from 15 to 18. This seems to ease the lag a bit.

Related Issues

closes #1767

Copy link
Member

@renbinden renbinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FlexTape
(It's important to remember this is very much a temporary fix and does not solve the problem at its source)

@dmccoystephenson dmccoystephenson merged commit aa06235 into develop Jan 3, 2024
1 check passed
@dmccoystephenson dmccoystephenson deleted the config/only-render-territories-upon-startup branch January 3, 2024 07:38
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.

Add config option for only updating the dynmap at server start
2 participants