mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-12 06:25:56 +08:00
Log message when starting a new standalone runtime does not work (#2911)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
601e93ae76
commit
e01abae5e8
1 changed files with 7 additions and 1 deletions
|
@ -163,7 +163,13 @@ defmodule Livebook.Runtime.Standalone do
|
||||||
{:DOWN, ^manager_ref, :process, _object, _reason} -> :ok
|
{:DOWN, ^manager_ref, :process, _object, _reason} -> :ok
|
||||||
end
|
end
|
||||||
after
|
after
|
||||||
10_000 -> :timeout
|
10_000 ->
|
||||||
|
IO.puts(
|
||||||
|
"Error: timeout during initial communication between standalone runtime" <>
|
||||||
|
" (node: #{inspect(node())}) and Livebook (node: #{inspect(parent_node)})."
|
||||||
|
)
|
||||||
|
|
||||||
|
:timeout
|
||||||
end
|
end
|
||||||
|
|
||||||
# We explicitly halt at the end, just in case `System.no_halt(true)`
|
# We explicitly halt at the end, just in case `System.no_halt(true)`
|
||||||
|
|
Loading…
Add table
Reference in a new issue