Restart requried for config changes via Spring.SetConfig*

Restart requried for config changes via Spring.SetConfig*

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Restart requried for config changes via Spring.SetConfig*

Post by gajop »

Is it an error that some config changes done via Spring.SetConfig* functions don't take immediate effect?

I've noticed that link bandwidth (LinkIncomingMaxPacketRate, LinkIncomingMaxWaitingPackets, LinkIncomingPeakBandwidth, etc.) value changes require a restart, but I'm pretty sure some others don't, yet this probably isn't documented anywhere.

Should it be documented or rather changed so that all config changes take immediate effect?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Restart requried for config changes via Spring.SetConfig*

Post by Silentwings »

Some need a restart, some can be put into an "overlay" and applied instantly but not remembered, and some cannot be changed ingame at all. I didn't find a way to tell which is which other than time consuming code reading.
Post Reply

Return to “Engine”