diff options
| author | Mroik <mroik@delayed.space> | 2026-04-11 05:14:41 +0200 |
|---|---|---|
| committer | Mroik <mroik@delayed.space> | 2026-04-13 06:56:11 +0200 |
| commit | 203f02b88e75a9b604b27922aecaceb31c44d20a (patch) | |
| tree | 99dc845bc8d6a5fd3a4ede70fa70b0d58390a60e /src/main.rs | |
| parent | ffc0ad7c86408193b213c46cbca5c0d8b60f8632 (diff) | |
Replace std socket IO with tokio socket IO
Since the TcpListener (and related) operations are blocking, they would
prevent other tasks from running by monopolizing CPU time.
This should've been done from the start but I'm not used to directly
using low level primitives in an async environment as I would normally
use a high level library for this, so I forgot.
Signed-off-by: Mroik <mroik@delayed.space>
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions
