Skip to content

Commit d1b1f44

Browse files
committed
fix: emergency fix to disable sync hard deletion
Records db is struggling to delete all records from syncs that were recently marked as deleted because they were disabled. Disabling syncs and associated data hard delete for now
1 parent eca3ff5 commit d1b1f44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/lib/crons/deleteOldData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export async function exec(): Promise<void> {
132132
...opts,
133133
name: 'sync',
134134
deleteFn: async () => {
135-
const syncs = await getSoftDeletedSyncs({ limit, olderThan: deleteSyncsOlderThan });
135+
const syncs = await getSoftDeletedSyncs({ limit: 0, olderThan: deleteSyncsOlderThan });
136136
if (syncs.isErr()) {
137137
throw syncs.error;
138138
}

0 commit comments

Comments
 (0)