From 621292bd02b667d74b532a898b1737b3e0dfe263 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 10 Jan 2017 21:53:16 +0100 Subject: Wait less when idling in drumkitloader to fix lv2 unittest. --- src/drumkitloader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc index 2be5408..1d66597 100644 --- a/src/drumkitloader.cc +++ b/src/drumkitloader.cc @@ -197,7 +197,7 @@ void DrumKitLoader::thread_main() // Only sleep if queue is empty. if(size == 0) { - semaphore.wait(std::chrono::milliseconds(1000)); + semaphore.wait(std::chrono::milliseconds(10)); } bool newKit = false; -- cgit v1.2.3