zen: stat worker
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user