Mercurial > prosody-hg
view util/bit53.lua @ 11858:2bcd84123eba
net.server_epoll: Process all queued events from epoll before timers
Should call timers less frequently when many sockets are waiting for
processing. May help under heavy load.
Requested by Ge0rG
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 21 Oct 2021 15:59:16 +0200 |
| parents | 48f7cda4174d |
| children | d77d8fba44ad |
line wrap: on
line source
-- Only the operators needed by net.websocket.frames are provided at this point return { band = function (a, b) return a & b end; bor = function (a, b) return a | b end; bxor = function (a, b) return a ~ b end; };
