@agimon-ai/po-runner 0.0.0-alpha.211 → 0.0.0-alpha.213
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.
|
@@ -42,6 +42,8 @@ let hono_streaming = require("hono/streaming");
|
|
|
42
42
|
let _agimon_ai_po_core_help = require("@agimon-ai/po-core/help");
|
|
43
43
|
const RUNNER_STATUS_KEY = "po-runner-runners";
|
|
44
44
|
const BACKGROUND_WORK_PROVIDER = "po-runner";
|
|
45
|
+
/** Fallback pass for what no notification reports; registrations and observed completions notify at once. */
|
|
46
|
+
const RUNNER_STATUS_POLL_MS = 2e3;
|
|
45
47
|
const HISTORY_SWEEP_INTERVAL_MS = 6e5;
|
|
46
48
|
//#endregion
|
|
47
49
|
//#region src/constants/runnerSettings.ts
|
|
@@ -1220,7 +1222,7 @@ const createRunnerServerRoot = async ({ context, host, agent, signal, resources
|
|
|
1220
1222
|
const runnerHost = await resources.acquire(["runner-host", environment["PROCESS_REGISTRY_PATH"] ?? null], () => require_runnerHost.createRunnerHost({
|
|
1221
1223
|
processRegistry: require_runnerRegistry$1.createDefaultProcessRegistry(environment),
|
|
1222
1224
|
clock: new require_clock.SystemClock(),
|
|
1223
|
-
statusPollMs:
|
|
1225
|
+
statusPollMs: RUNNER_STATUS_POLL_MS,
|
|
1224
1226
|
historySweepMs: HISTORY_SWEEP_INTERVAL_MS,
|
|
1225
1227
|
onWarning: (message) => process.emitWarning(message)
|
|
1226
1228
|
}), (shared) => shared.dispose());
|