@rallycry/conveyor-agent 10.9.0 → 10.10.0

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/cli.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  runStartCommand,
29
29
  sampleKeyUsage,
30
30
  terminateProcessGroup
31
- } from "./chunk-H3OGNJS4.js";
31
+ } from "./chunk-BN5TDTW7.js";
32
32
  import "./chunk-7TQO4ZF4.js";
33
33
 
34
34
  // src/cli.ts
@@ -43,7 +43,7 @@ import { dirname } from "path";
43
43
  var POSTGRES_TIMEOUT_MS = 12e4;
44
44
  var FIREBASE_TIMEOUT_MS = 6e4;
45
45
  var FALLBACK_TIMEOUT_MS = 3e4;
46
- var DEFAULT_POLL_INTERVAL_MS = 1e3;
46
+ var DEFAULT_SIDECAR_POLL_INTERVAL_MS = 1e3;
47
47
  var DEFAULT_PROBE_TIMEOUT_MS = 2e3;
48
48
  var POSTGRES_DEFAULT_PORT = 5432;
49
49
  var FIREBASE_DEFAULT_PORT = 9099;
@@ -187,7 +187,7 @@ async function waitForSidecars(opts = {}) {
187
187
  onLog = () => {
188
188
  },
189
189
  timeoutMs,
190
- pollIntervalMs = DEFAULT_POLL_INTERVAL_MS,
190
+ pollIntervalMs = DEFAULT_SIDECAR_POLL_INTERVAL_MS,
191
191
  probe = defaultProbe,
192
192
  startLazy = true,
193
193
  signal
@@ -1173,7 +1173,6 @@ var ReviewChildSupervisor = class {
1173
1173
  // src/runner/session-child.ts
1174
1174
  import { spawn as nodeSpawn2 } from "child_process";
1175
1175
  var logger3 = createServiceLogger("SessionChild");
1176
- var KILL_WAIT_MS2 = 5e3;
1177
1176
  function buildSpawnedChildEnv(baseEnv, data) {
1178
1177
  const env = { ...baseEnv };
1179
1178
  env.CONVEYOR_TASK_TOKEN = data.sessionJwt;
@@ -1283,7 +1282,7 @@ var SessionChildSupervisor = class {
1283
1282
  } catch {
1284
1283
  }
1285
1284
  resolve();
1286
- }, KILL_WAIT_MS2);
1285
+ }, KILL_WAIT_MS);
1287
1286
  timer.unref();
1288
1287
  child.once("exit", () => {
1289
1288
  clearTimeout(timer);