chrisz2zz opened this issue 2 years ago · 1 comments
第40页 可以通过 Builder 自定义线程数: let pool = poolite::Pool::builder().thread_num(8).build()?; 貌似没有builder这个方法 是不是应该 poolite::Builder::new().max(8).build()?
let pool = poolite::Pool::builder().thread_num(8).build()?;
poolite::Builder::new().max(8).build()?
所有代码都是编译过的。 我看看是不是poolite是不是版本有所变化