File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ async-channel = "1.1"
4949bincode = { version = " 1.3" , optional = true }
5050constellation-rs = { version = " 0.2.0-alpha.2" , default-features = false , optional = true }
5151derive-new = " 0.5"
52+ event-listener = " =2.3.1" # https://github.com/stjepang/event-listener/issues/9
5253futures = " 0.3"
5354num_cpus = " 1.13"
5455pin-project = " 0.4"
Original file line number Diff line number Diff line change @@ -275,9 +275,9 @@ mod pool {
275275 } ;
276276
277277 #[ tokio:: test]
278- async fn spawn_pinned_ ( ) {
278+ async fn spawn_pinned ( ) {
279279 const TASKS : usize = 1000 ;
280- const ITERS : usize = 1000 ;
280+ const ITERS : usize = 200 ;
281281 const THREADS : usize = 4 ;
282282 let pool = Pool :: new ( THREADS ) ;
283283 let count = Arc :: new ( AtomicUsize :: new ( ( 1 ..TASKS ) . sum ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments