Quantumbraid/trainingdata / ui /src /instrumentation.ts
Quantumbraid's picture
download
raw
400 Bytes
/**
* Next.js instrumentation hook — runs once when the server process starts
* (not during build). Starts the always-on system monitor so the rolling
* stats history is already populated when the first client connects.
*/
export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
const { startMonitor } = await import('@/server/monitor');
startMonitor();
}
}

Xet Storage Details

Size:
400 Bytes
·
Xet hash:
c768010d948820302f4991a8c87ec2e6f59e5e96662e8429b72586316a94116d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.