Supergiovane / node-red-contrib-boolean-logic-ultimate

Enhanced boolean logic with persistent values after reboot and more
https://www.youtube.com/watch?v=sYc6L5QQrTw&list=PL9Yh1bjbLAYoRH4IyQB7EL5srHAihiKpy
MIT License
31 stars 4 forks source link

Boolean Logic hits cpu hard #32

Closed TheBartoMan closed 1 year ago

TheBartoMan commented 2 years ago

Ive spent a few days figuring out what is hitting my CPU hard.

Turns out its the Boolean Logic module.

Changed it for the node-red-contrib-boolean-logic and my CPU has dropped from 100% to 20%

Supergiovane commented 2 years ago

Hi Barto I wish i can take a look to your flow, because i’ve never experienced anything like that. The boolean logic uktimate node does write to the disk to retain the states. Does nodered have the rights to write into its folder?

TheBartoMan commented 2 years ago

I don't have it in the flow now as I replaced with the standard boolean, but it was nothing special. Just four separate topics feeding true or false into the Boolean Logic Ultimate Node.

Supergiovane commented 2 years ago

Hi Barto I've thousand of users using my node and no one has ever reported that, so i wish to investigate it by myself. Can you please tell me your OS (windows, debian, ecc), node version (you can issue node -v from a command prompt ) and your node-red version? Thanks.