1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 17:07:44 +00:00

daemon: fix typo in comment

This commit is contained in:
NotAShelf 2025-05-17 06:22:56 +03:00
parent c046c27376
commit 862e090bc6
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -414,7 +414,7 @@ pub fn run_daemon(mut config: AppConfig, verbose: bool) -> Result<(), Box<dyn st
};
// Variables for adaptive polling
// Mak sure that the poll interval is *never* zero in order to prevent a busy loop
// Make sure that the poll interval is *never* zero to prevent a busy loop
let mut current_poll_interval = config.daemon.poll_interval_sec.max(1);
if config.daemon.poll_interval_sec == 0 {
warn!("Poll interval is set to zero in config, using 1s minimum to prevent a busy loop");