UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

18 lines (17 loc) • 469 B
import { parentPort } from "node:worker_threads"; import { getCACertificates } from "node:tls"; //#region src/gateway/system-ca-warmup.worker.ts if (!parentPort) throw new Error("System CA warmup requires a worker thread"); try { getCACertificates("default"); parentPort.postMessage({ ok: true }); } catch (e) { parentPort.postMessage({ ok: false, error: e instanceof Error ? e.message : String(e) }); } finally { parentPort.close(); } //#endregion export {};