fix: address Bugbot review #3 — mutation invalidation gaps
- Dual-layer cache invalidation on interact mutations (dns-hole, media-requests, smart-home, indexer-manager, anchor-notes) - importOldmarrConfig: invalidate created boards - createBoard: invalidateUserCache when auto-setting homeBoardId - group.savePositions: invalidate user caches for affected members - integration.requestMedia: invalidate integration data cache - user.delete: invalidate user cache
This commit is contained in:
11 files changed
+31
-4
No files matched your search
@@ -39,4 +39,6 @@ export const importSingleOldmarrConfigAsync = async (
|
||||
boardInsertCollection.insertAll(db);
|
||||
},
|
||||
});
|
||||
|
||||
return boardInsertCollection.boards.map(({ id, name }) => ({ id, name }));
|
||||
};
|
||||
@@ -9,5 +9,5 @@ export const importOldmarrAsync = async (
|
||||
old: OldmarrConfig,
|
||||
configuration: OldmarrImportConfiguration,
|
||||
) => {
|
||||
await importSingleOldmarrConfigAsync(db, old, configuration);
|
||||
return await importSingleOldmarrConfigAsync(db, old, configuration);
|
||||
};
|
||||
Reference in new issue
Block a user