Closed joluxer closed 3 months ago
Merging now. I'll just increase the build update sleep to 1 second instead of 0.1 seconds to reduce the CPU load. There are too many OpenPLC users running on old / slow hardware...
I think, something between 0.1 and 0.5 s should be sufficient even for Rapsberry Pi based laptops or Pentium-400 machines.
Some users reported Arduino build failures without any error message in the build output window, all messages where good.
The reason was in background build process handling, which cleaned up processes, that seemed to be complete, too early, before the process terminated regularly.
Now for every process the termination code is fetched properly. Build output display is a compromise between CPU load and updating output timely. Significant slower machines might show higher CPU load on the python process of the editor while building.