11 lines
375 B
JavaScript
11 lines
375 B
JavaScript
const path = require('path');
|
|
const { runCalibrationWorker } = require('./calibrationWorker');
|
|
|
|
runCalibrationWorker({
|
|
intelligencePath: process.env.INTELLIGENCE_DB || path.resolve('/data/intelligence.sqlite'),
|
|
pollMs: Number(process.env.AUTONOMY_CALIBRATION_POLL_MS) || 60000,
|
|
}).catch((error) => {
|
|
console.error('[calibration] fatal:', error);
|
|
process.exit(1);
|
|
});
|