From 74c771501c3b518a67164d3a753613a74acce238 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 14 Feb 2018 15:16:33 -0500 Subject: add some more trace statements --- src/commands.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/commands.rs') 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 { -- cgit v1.3.1