Answer the question
In order to leave comments, you need to log in
How to get around slow timeouts when minimizing a window in Node.js Electron?
There is a local site. Half the time it works in the background in the browser. Sometimes a child minimizes or closes the window with this site and the work is disrupted. The timeout, which should be executed every 250 ms, starts to be executed once a minute.
I switched this site to work through node.js, but the problem did not go away. It is important for me that the timeouts are executed at least once per second, because data is coming in that needs to be processed as quickly as possible.
The option with vds will not work, because. it is important that this site is available at any second and everything works instantly on input from the keyboard and displaying information on the screen. You can set up autoit to hide the window, but if you can solve this problem inside node.js + electron, then it will be ideal.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question