fix: untimely relay sets synchronization

This commit is contained in:
codytseng
2025-04-05 22:47:16 +08:00
parent 2b9de01905
commit 328477a1f3
2 changed files with 27 additions and 42 deletions

View File

@@ -360,10 +360,7 @@ class IndexedDbService {
{
name: StoreNames.FOLLOW_LIST_EVENTS,
expirationTimestamp: Date.now() - 1000 * 60 * 60 * 24
}, // 1 day
{ name: StoreNames.RELAY_INFO_EVENTS, expirationTimestamp: -1 },
{ name: StoreNames.MUTE_LIST_EVENTS, expirationTimestamp: -1 },
{ name: StoreNames.MUTE_DECRYPTED_TAGS, expirationTimestamp: -1 }
} // 1 day
]
const transaction = this.db!.transaction(
stores.map((store) => store.name),