Skip to content

Commit 8b311a9

Browse files
committed
add comment for milliseconds
1 parent c325b01 commit 8b311a9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/howl.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,16 +300,14 @@ pub fn howl(
300300
debug!("Current time: {now:?}");
301301
debug!("Target time: {target_time:?}");
302302

303-
// debug!("Sleep time: {}", sleep_time);
304-
305303
if target_time > now {
306304
let sleep_time = target_time - now;
307305
thread::sleep(sleep_time);
308306
} else {
309307
let behind = now - target_time;
310308
warn!(
311-
"saluki howl running {} seconds behind schedule",
312-
behind.as_secs()
309+
"saluki howl running {} ms behind schedule",
310+
behind.as_millis()
313311
)
314312
}
315313
}

0 commit comments

Comments
 (0)