summaryrefslogtreecommitdiff
path: root/src/commands.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2018-02-14 15:16:33 -0500
committerNathan Perry <avaglir@gmail.com>2018-02-14 15:16:33 -0500
commit74c771501c3b518a67164d3a753613a74acce238 (patch)
treea428f5c74ed6fd62eb279d8adde651a7e3b71fca /src/commands.rs
parent321757ed1df35fee491630d939938593b1469981 (diff)
add some more trace statements
Diffstat (limited to 'src/commands.rs')
-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 {