mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-10 23:14:35 +08:00
Increase timeout for connecting via Mix standalone (#846)
* Increase timeout for connecting via Mix standalone I have hit this timeout when connecting via mix to a fairly large application. Increasing this fixes it for my use case. * Update lib/livebook/runtime/standalone_init.ex Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
fa3132133e
commit
c972b195c5
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ defmodule Livebook.Runtime.StandaloneInit do
|
|||
{:DOWN, ^port_ref, :port, _object, _reason} ->
|
||||
{:error, "Elixir process terminated unexpectedly"}
|
||||
after
|
||||
10_000 ->
|
||||
# Use a longer timeout to account for longer child node startup,
|
||||
# as may happen when starting with Mix.
|
||||
40_000 ->
|
||||
{:error, "connection timed out"}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue