@leitwerk-dev/worker 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5065,7 +5065,7 @@ function duration(value, fallback) {
5065
5065
  return value ? parseDurationMs2(value, fallback, { allowHours: true }) : fallback;
5066
5066
  }
5067
5067
  function resolveWorkerRuntimeSettings(config, payload) {
5068
- const workers = isLlmWorkerStartPayload(payload) ? payload.configSnapshot.workers : null;
5068
+ const workers = payload.workerRuntimeSettings ?? (isLlmWorkerStartPayload(payload) ? payload.configSnapshot.workers : null);
5069
5069
  return {
5070
5070
  heartbeatIntervalMs: config.heartbeatIntervalMs ?? duration(workers?.heartbeat_interval, DEFAULT_HEARTBEAT_MS),
5071
5071
  turnMaxDurationMs: config.turnMaxDurationMs ?? duration(workers?.turn_max_duration, DEFAULT_TURN_MAX_DURATION_MS),
@@ -8122,4 +8122,4 @@ export {
8122
8122
  createWorkerRuntime,
8123
8123
  createWorkerEntryRuntime
8124
8124
  };
8125
- //# sourceMappingURL=chunk-VLKOJANI.js.map
8125
+ //# sourceMappingURL=chunk-6OAKGOYC.js.map