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:
parent
c046c27376
commit
862e090bc6
1 changed files with 2 additions and 2 deletions
|
@ -414,7 +414,7 @@ pub fn run_daemon(mut config: AppConfig, verbose: bool) -> Result<(), Box<dyn st
|
||||||
};
|
};
|
||||||
|
|
||||||
// Variables for adaptive polling
|
// 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);
|
let mut current_poll_interval = config.daemon.poll_interval_sec.max(1);
|
||||||
if config.daemon.poll_interval_sec == 0 {
|
if config.daemon.poll_interval_sec == 0 {
|
||||||
warn!("Poll interval is set to zero in config, using 1s minimum to prevent a busy loop");
|
warn!("Poll interval is set to zero in config, using 1s minimum to prevent a busy loop");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue