mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-09 16:35:27 +02:00
7 lines
421 B
JavaScript
7 lines
421 B
JavaScript
/** Build-time probes only; provider/session admission deadlines are unchanged. */
|
|
export function buildNodeStartupTimeout(platform = process.platform, architecture = process.arch) {
|
|
// A freshly copied x64 Node can spend more than 10s in Rosetta's first launch.
|
|
// Keep this bounded and target-specific instead of weakening other probes.
|
|
return platform === "darwin" && architecture === "x64" ? 30_000 : 10_000;
|
|
}
|