Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
throwaway239219
· 4y ago · 0 comments
Yes, as you have expected tokio has spawn_blocking which allows you to throw misbehaving code into a thread pool.
This started to disgust me so I jumped to sqlx.
Comments
[–]
outside1234
4y ago
Yes - what throwaway said. Good suggestion as well to use sqlx instead.