fix: run autonomy workers by default
This commit is contained in:
@@ -74,7 +74,9 @@ async function runAutonomyWorker({ archivePath, intelligencePath, workerId = `au
|
||||
initAutonomySchema(intelligenceDb);
|
||||
|
||||
while (true) {
|
||||
const job = leaseNextJob(intelligenceDb, workerId, 120);
|
||||
// This worker owns maintenance reconciliation only. Without the type filter it
|
||||
// can lease coordinator_event jobs and complete them without analysis.
|
||||
const job = leaseNextJob(intelligenceDb, workerId, 120, ['reconcile_archive']);
|
||||
if (!job) { await sleep(pollMs); continue; }
|
||||
try {
|
||||
if (job.job_type === 'reconcile_archive') {
|
||||
|
||||
Reference in New Issue
Block a user