Skip to content

Commit 54ccc9c

Browse files
authored
Don't time out when running the extract task (#417)
Closes #416.
1 parent fc89178 commit 54ccc9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/mix/tasks/gettext.extract.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ defmodule Mix.Tasks.Gettext.Extract do
129129
pot_files
130130
|> Enum.map(fn {path, _} -> Path.dirname(path) end)
131131
|> Enum.uniq()
132-
|> Task.async_stream(&Mix.Tasks.Gettext.Merge.run([&1 | argv]), ordered: false)
132+
|> Task.async_stream(&Mix.Tasks.Gettext.Merge.run([&1 | argv]),
133+
ordered: false,
134+
timeout: 120_000
135+
)
133136
|> Stream.run()
134137
end
135138
end

0 commit comments

Comments
 (0)