diff --git a/src/main/SettingsManager.ts b/src/main/SettingsManager.ts index 089e193..ac204f5 100644 --- a/src/main/SettingsManager.ts +++ b/src/main/SettingsManager.ts @@ -141,7 +141,7 @@ class SettingsManager { this.saveScheduler = setTimeout(() => { this.save(); - }, 2000); + }, 300); } async save() { diff --git a/src/renderer/stores/itemStore.ts b/src/renderer/stores/itemStore.ts index 483f388..9f63f7b 100644 --- a/src/renderer/stores/itemStore.ts +++ b/src/renderer/stores/itemStore.ts @@ -10,7 +10,7 @@ const logger = Logger.scope('renderer/item-store'); // Mobx store for Items export default class ItemStore { - IgnoredStatusUpdateFrequency = 1000; // ms to wait before updating the ignore status + IgnoredStatusUpdateFrequency = 300; // ms to wait before updating the ignore status itemsWaitingUpdate: {id: string, status: boolean}[] = []; ignoredStatusUpdateTimeout: NodeJS.Timeout | null = null; items: Item[] = [];