Timeout bumped to infinity on both main and v1.14.

On Thu, Mar 2, 2023 at 3:52 PM Marc Noordman <m.p.noord...@gmail.com> wrote:

> We have a large Elixir project that runs `mix format --check-formatted` in
> the CI pipeline.
> Unfortunately this command sometimes times out, due to project size and
> server load.
> This makes our CI pipeline result unreliable.
>
> It turns out that there is a hard-coded 30 second timeout for mix format
> specified in
>
> https://github.com/elixir-lang/elixir/blob/main/lib/mix/lib/mix/tasks/format.ex
> on line 228.
> My proposal would be to make the timeout duration customizable with an
> optional flag to `mix format`, so we can do something like
> `mix format --check-formatted --timeout 300`
> to give mix format 5 minutes instead of 30 seconds to check the code. The
> default, when the flag not provided, should still be to time out after 30
> seconds.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/c91e03ea-49f6-4438-9114-4e7193d262f4n%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/c91e03ea-49f6-4438-9114-4e7193d262f4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JQ_%2BVgua4sBUnTNvLLrqfX0JX-q8fhjoz_E8a-wNMHAw%40mail.gmail.com.

Reply via email to