Defaults to 1 ms timeout (to prevent continuous reading on the socket even if no information is available). Added an option "timeout" in case there are event less requirements for socket performance speed.
Previously, the defaults were 0 and the socket would eat all my CPU when using chrome.
the non-blocking lua-ev implementation makes no sense at all when working with timeouts
maybe your app logic drives chrome or your lua process busy?
the lua-ev implementation is running on many products (where i work) and no performance issues so far.
Defaults to 1 ms timeout (to prevent continuous reading on the socket even if no information is available). Added an option "timeout" in case there are event less requirements for socket performance speed.
Previously, the defaults were 0 and the socket would eat all my CPU when using chrome.