From 7a1d0b2eaf269c26231361a6c97cd9b4dac18513 Mon Sep 17 00:00:00 2001 From: Zamitto Date: Wed, 1 May 2024 18:53:10 -0300 Subject: [PATCH] feat: increase process watcher sleep time to 5s --- src/main/services/process-watcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/process-watcher.ts b/src/main/services/process-watcher.ts index fc81e8d3..9cce8a7a 100644 --- a/src/main/services/process-watcher.ts +++ b/src/main/services/process-watcher.ts @@ -8,7 +8,7 @@ import { WindowManager } from "./window-manager"; const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); export const startProcessWatcher = async () => { - const sleepTime = 300; + const sleepTime = 5000; const gamesPlaytime = new Map(); // eslint-disable-next-line no-constant-condition