actix-net
actix-net copied to clipboard
Failing to spawn an arbiter thread should not panic creator thread
We have had reports of some users running out of file handle, causing tokio to panic the new thread which in turns triggered this unwrap (https://github.com/actix/actix-net/blob/master/actix-rt/src/arbiter.rs#L153) and killed the caller thread (main in my case). I think it would be better to offer a safe API (we can keep backward compatibility with an unwrap).