gavinying / modpoll

A New Command-line Tool for Modbus and MQTT
https://gavinying.github.io/modpoll
MIT License
84 stars 17 forks source link

Very high load while running modpoll #59

Closed dakhnod closed 3 weeks ago

dakhnod commented 3 weeks ago

Modpoll seems to consume heaps of CPU even with a low polling frequency, which seems to be the case because of the busy waiting in the main function. I will open a PR to solve this better...