diff --git a/scripts_future_API/test_pipeline.jl b/scripts_future_API/test_pipeline.jl index 73335124..02084f08 100644 --- a/scripts_future_API/test_pipeline.jl +++ b/scripts_future_API/test_pipeline.jl @@ -2,14 +2,14 @@ using FastIce.Utils function main() pipes = [Pipeline() for _ in 1:6] - for iter in 1:100 + for iter in 1:10 for ip in eachindex(pipes) put!(pipes[ip]) do - sleep(1/60) + sleep(0.001) println(" inside pipeline #$(ip)!") end end - sleep(1/10) + sleep(0.01) println("outside, iter #$(iter)!") take!.(pipes) println()