Open millerm1993 opened 1 year ago
Maybe I can try a queue system for the named pipe? This would be significantly better than the staggering system I have now. Would need to make sure to have a delay between each request. Should be able to drop Commands/Requests for the same info (i.e. only have one request in for the Front Fan Speed at any given time).
Is it an issue with the WaitForPipeDrain()? This method waits for the service to finish reading the command packet before continuing. May be causing a lock if something happens on the service side and we are waiting forever for it to finish? Can't seem to set timeout for PipeDrain.
With this plugin enabled I am getting performance spikes every 10 minutes or so that lock up my PC for about 5 seconds.
I'm not sure how frequently FanControl calls the plugin, but the issue may be caused by excessive namedpipe calls. PredatorSense.exe only seems to update the fan speeds every 5-10 seconds so it may be a limitation of the service.