zen: stat worker
This commit is contained in:
parent
8310e7df70
commit
005e64e7d8
9 changed files with 61 additions and 1 deletions
|
|
@ -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,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue