waycorner icon indicating copy to clipboard operation
waycorner copied to clipboard

Avoid pulling on `timeout_ms = 0`

Open Familex opened this issue 1 year ago • 0 comments

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.

Familex avatar Dec 27 '24 18:12 Familex