Y
Hacker News
new
|
ask
|
show
|
jobs
by
throwaway239219
1378 days ago
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.
1 comments
outside1234
1378 days ago
Yes - what throwaway said. Good suggestion as well to use sqlx instead.
link