actix-net icon indicating copy to clipboard operation
actix-net copied to clipboard

Failing to spawn an arbiter thread should not panic creator thread

Open Sytten opened this issue 5 months ago • 0 comments

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).

Sytten avatar Jul 24 '25 18:07 Sytten