From 1929efa5ee66cfe49d5bf77841b3e922edd7641a Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Fri, 17 May 2024 13:56:00 +0200 Subject: [PATCH] UPD: Reduce nanoSerialApi list interval --- src/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index cfff0fe..209778c 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -184,7 +184,7 @@ app.whenReady().then(() => { Menu.setApplicationMenu(menu) //mainWindow.webContents.openDevTools() - setInterval(() => nanoSerialApi._list(), 1000) + setInterval(() => nanoSerialApi._list(), 500) app.on('activate', function () { // On macOS it's common to re-create a window in the app when the