-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache whether the active game has a package list in IndexedDB
SettingRow items update their value for on one second interval. While reading the status from IndexedDB isn't a noticeable performance hit (at least on my PC), it becomes an issue if checking the status throws an error. In those cases TSMM's Sentry gets bombarded with an error every second users stays on the settings screen. Cache invalidation obviously makes the implementation more complex. The cache can still show incorrect values if user manually deletes the entries from IndexedDB via dev tools but that's acceptable.
- Loading branch information
Showing
1 changed file
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters