Skip to content

Commit

Permalink
chore: replace deprecated func to fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Arrillaga committed Jun 5, 2020
1 parent 75788a6 commit 5d7879b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parallel_stream/producer.ex
Expand Up @@ -13,7 +13,7 @@ defmodule ParallelStream.Producer do
chunk_size = worker_count * worker_work_ratio

stream
|> Stream.chunk(chunk_size, chunk_size, [])
|> Stream.chunk_every(chunk_size, chunk_size, [])
|> Stream.transform(
fn ->
{
Expand Down

0 comments on commit 5d7879b

Please sign in to comment.