@leitwerk-dev/worker 0.1.4 → 0.1.6
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.
- package/dist/{chunk-VLKOJANI.js → chunk-6OAKGOYC.js} +2 -2
- package/dist/chunk-6OAKGOYC.js.map +1 -0
- package/dist/runtime/settings.d.ts.map +1 -1
- package/dist/runtime/settings.js +2 -1
- package/dist/runtime/settings.js.map +1 -1
- package/package.json +7 -7
- package/src/runtime/settings.ts +3 -1
- package/dist/chunk-VLKOJANI.js.map +0 -1
|
@@ -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-
|
|
8125
|
+
//# sourceMappingURL=chunk-6OAKGOYC.js.map
|