Change to GetStting

This commit is contained in:
Kamron Batman 2026-08-09 13:22:33 -07:00
parent 587e0cac52
commit 2adee34b57
No known key found for this signature in database
GPG key ID: 7D81DF26D9A5D94A

View file

@ -553,11 +553,11 @@ public static class Core
ServerConfiguration.Load();
// 0 disables idle sleeping entirely (full-core spin, zero scheduling overhead).
_eventLoopIdleWaitMs = ServerConfiguration.GetOrUpdateSetting("server.eventLoopIdleWaitMs", 2);
_eventLoopIdleWaitMs = ServerConfiguration.GetSetting("server.eventLoopIdleWaitMs", 2);
// 16ms-budget misses per second before idle sleeping backs off. Raise to tolerate a
// jittery host; set very high to disable the backoff.
_lateWakeThreshold = ServerConfiguration.GetOrUpdateSetting("server.lateWakeThreshold", 1);
_lateWakeThreshold = ServerConfiguration.GetSetting("server.lateWakeThreshold", 1);
var assemblyPath = Path.Join(BaseDirectory, AssembliesConfiguration);