fix(ai): retry the page moved-to-space vector patch job

This commit is contained in:
Philipinho
2026-08-17 18:52:33 +01:00
parent e0d0fb15c9
commit adbe671656
@@ -496,11 +496,21 @@ export class PageService {
}, },
); );
await this.aiQueue.add(QueueJob.PAGE_MOVED_TO_SPACE, { await this.aiQueue.add(
pageIds: pageIdsToMove, QueueJob.PAGE_MOVED_TO_SPACE,
spaceId, {
workspaceId: rootPage.workspaceId, pageIds: pageIdsToMove,
}); spaceId,
workspaceId: rootPage.workspaceId,
},
{
attempts: 2,
backoff: {
type: 'fixed',
delay: 2 * 60 * 1000,
},
},
);
} }
}); });