waycorner
waycorner copied to clipboard
Avoid pulling on `timeout_ms = 0`
Better fix for #2.
Currently events processed in infinite loop with timeout_ms rate. There is blocking recv in mpsc::Receiver that better suited for this purpose (timeout_ms = 0).
Also added MIN_TIMEOUT_MS constant to remove the magic number from the code.