Skip to content

Commit 95993dc

Browse files
Prevent index updates during sync metadata (#12856)
As per title
1 parent fb0cf11 commit 95993dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/comparators/workspace-index.comparator.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ export class WorkspaceIndexComparator {
6363
);
6464

6565
for (const difference of indexesDifferences) {
66+
// TODO: This code prevent index updates, we need to handle them
67+
if (difference.path.length > 1) {
68+
continue;
69+
}
70+
6671
switch (difference.type) {
6772
case 'CREATE': {
6873
results.push({

0 commit comments

Comments
 (0)