diff --git a/coordinator/startup.lua b/coordinator/startup.lua index e8717c4..83a445d 100644 --- a/coordinator/startup.lua +++ b/coordinator/startup.lua @@ -16,7 +16,7 @@ local config = require("coordinator.config") local coordinator = require("coordinator.coordinator") local renderer = require("coordinator.renderer") -local COORDINATOR_VERSION = "alpha-v0.5.10" +local COORDINATOR_VERSION = "alpha-v0.5.11" local print = util.print local println = util.println diff --git a/scada-common/tcallbackdsp.lua b/scada-common/tcallbackdsp.lua index 339d1b5..98d9b6f 100644 --- a/scada-common/tcallbackdsp.lua +++ b/scada-common/tcallbackdsp.lua @@ -9,7 +9,10 @@ local tcallbackdsp = {} local registry = {} -local UNSERVICED_CALL_DELAY = util.TICK_TIME_S +---@todo possibly move this to a config file? +-- maximum 5 ticks late (0.25 seconds)
+-- heavily modded servers and large multiplayer servers tend to significantly slow tick times, so nominal 0.05s ticks are unlikely +local UNSERVICED_CALL_DELAY = util.TICK_TIME_S * 5 -- request a function to be called after the specified time ---@param time number seconds