max_heartbeats_per_second

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Tonkers
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 07, 2022 6:50 pm
Contact:

max_heartbeats_per_second

Post by Tonkers »

running a headless server, I have this option in server-settings.json:

"_comment_max_heartbeats_per_second": "Network tick rate. Maximum rate game updates packets are sent at before bundling them together. Minimum value is 6, maximum value is 240.",
"max_heartbeats_per_second": 120,

Can someone please explain the difference in setting values between 6 & 240? I dont notice any difference in experiments. should higher value be given if you have a high volume server? is lower volume better? does it affect latency? frames? So confusing, for now, i'll just leave it at 60

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: max_heartbeats_per_second

Post by DaveMcW »

60 is the best value if you have a perfect network connection.

Higher numbers send multiple packets per tick, which might be useful if some packets are getting lost.

Lower numbers skip some ticks, which adds latency equal to 16.67ms times the number of ticks skipped. If you have hundreds of players on your server this might be useful to reduce network traffic.

Tonkers
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 07, 2022 6:50 pm
Contact:

Re: max_heartbeats_per_second

Post by Tonkers »

very nice explanation, thank you! Being a new feature there are no google results for this, hopefully your post will add that for anyone else searching.

Post Reply

Return to “Technical Help”