fix comment

This commit is contained in:
fakeshadow 2021-01-31 04:30:40 -08:00
parent 34fabbaf0d
commit a356b267ad
3 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,8 @@
## 2.0.0-beta.3 - 2021-01-31
* Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunne
* Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253]
* Return `JoinHandle` from `actix_rt::spawn`. [#253]
* Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`. [#253]
* Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`. [#253]
* Remove `Arbiter::exec`. [#253]

View File

@ -277,7 +277,5 @@ fn new_arbiter_with_tokio() {
arb.join().unwrap();
std::thread::sleep(std::time::Duration::from_millis(100));
assert_eq!(false, counter.load(std::sync::atomic::Ordering::SeqCst));
}

View File

@ -80,7 +80,7 @@ struct Accept {
next: usize,
backpressure: bool,
// poll time duration.
// use the nearest timeout from socket timeout settings.
// use the smallest duration from sockets timeout_deadline.
timeout: Option<Duration>,
}