romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
447 stars 50 forks source link

Remove usage of pool_ for threads estimate as it can be uninitialized. #119

Closed royjacobson closed 1 year ago

royjacobson commented 1 year ago

I was trying to be clever by including the number of threads in the estimation, turns out this is annoying because pool_ can be null.

This time at I also have the Dragonfly side already done with tests so we don't have to do any more ping-pong :)