aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands.rs b/src/commands.rs
index f40ccfd..dce373c 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -67,7 +67,11 @@ impl PlayQueue {
thread::spawn(move || {
let queue_lck = Arc::clone(&queue);
- let sleep = || thread::sleep(Duration::from_millis(250));
+ let sleep = || {
+ trace!("poll thread sleep");
+ thread::sleep(Duration::from_millis(250));
+ trace!("poll thread awake");
+ };
let voice_manager = voice_manager;
loop {