aboutsummaryrefslogtreecommitdiff
path: root/src/database.rs
diff options
context:
space:
mode:
authorMroik <mroik@delayed.space>2026-04-11 05:14:41 +0200
committerMroik <mroik@delayed.space>2026-04-13 06:56:11 +0200
commit203f02b88e75a9b604b27922aecaceb31c44d20a (patch)
tree99dc845bc8d6a5fd3a4ede70fa70b0d58390a60e /src/database.rs
parentffc0ad7c86408193b213c46cbca5c0d8b60f8632 (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/database.rs')
0 files changed, 0 insertions, 0 deletions
XMR address: 854DmXNrxULU3ZFJVs4Wc8PFhbq29RhqHhY8W6cdWrtFN3qmooKyyeYPcDzZTNRxphhJ5UzASQfAdEMwSteVqymk28aLhqj