Reduces CPU usage by sleeping when the queue is empty. This ensures Pitch uses CPU as needed when Tilt broadcasts are in the queue but still reduces CPU time by not looping endlessly to check if the queue has new items.
Sleep duration can be configured. Sleep duration of 0 or lower disables the feature.
Closes #23.
Reduces CPU usage by sleeping when the queue is empty. This ensures Pitch uses CPU as needed when Tilt broadcasts are in the queue but still reduces CPU time by not looping endlessly to check if the queue has new items.
Sleep duration can be configured. Sleep duration of 0 or lower disables the feature.