mirror of https://github.com/fafhrd91/actix-net
fix comment
This commit is contained in:
parent
34fabbaf0d
commit
a356b267ad
|
@ -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]
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue