You can easily limit the number of blocking threads tokio can spawn: https://docs.rs/tokio/latest/tokio/runtime/struct.Builder.ht...
Might not be a good option though if you also spawn a bunch of blocking io tasks, which benefit from a large number of threads.
Might not be a good option though if you also spawn a bunch of blocking io tasks, which benefit from a large number of threads.