feat: lower process-watcher sleep time to 500ms

This commit is contained in:
Zamitto 2024-05-03 09:07:05 -03:00
parent f4ee88c075
commit a98a0eadd8

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 = 5000;
const sleepTime = 500;
const gamesPlaytime = new Map<number, number>();
// eslint-disable-next-line no-constant-condition