zen: stat worker

This commit is contained in:
Frank
2026-05-12 21:37:34 -04:00
parent 8310e7df70
commit 005e64e7d8
9 changed files with 61 additions and 1 deletions

View File

@@ -19,10 +19,14 @@ export default $config({
},
async run() {
await import("./infra/app.js")
await import("./infra/console.js")
const { stat } = await import("./infra/console.js")
await import("./infra/enterprise.js")
if ($app.stage === "production" || $app.stage === "vimtor") {
await import("./infra/monitoring.js")
}
return {
STAT_WORKER_NAME: stat.nodes.worker.scriptName,
}
},
})