feat: increase process watcher sleep time to 5s

This commit is contained in:
Zamitto 2024-05-01 18:53:10 -03:00
parent cce54f9937
commit 7a1d0b2eaf

View File

@ -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<number, number>();
// eslint-disable-next-line no-constant-condition