diff options
author | Jordan Schidlowsky <jordan@winterpixel.com> | 2021-09-27 11:07:00 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-15 14:03:42 +0100 |
commit | 373d5ea103afff9707ada7a228fd34a4ddf279f5 (patch) | |
tree | b4d0256469880aa3b83b84bcc8bb14916fbd3295 /modules/jsonrpc/jsonrpc.h | |
parent | 397d895fb76d37881933c6e42b6256847ef6f2e6 (diff) |
[Net] ENet poll now only service the connection once.
It used to call `enet_host_service` until all events were consumed, but
that also meant constantly polling the connection leading to potentially
unbounded processing time.
It now only service the connection once, and instead consumes all the
retrieved events via `enet_host_check_events`.
Diffstat (limited to 'modules/jsonrpc/jsonrpc.h')
0 files changed, 0 insertions, 0 deletions