Skip to content

Commit 9e35859

Browse files
committed
increase timeout
1 parent eb4e546 commit 9e35859

File tree

1 file changed

+6
-2
lines changed
  • apps/elixir_ls_debugger/lib/debugger

1 file changed

+6
-2
lines changed

apps/elixir_ls_debugger/lib/debugger/server.ex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,11 @@ defmodule ElixirLS.Debugger.Server do
11831183
child_type = Variables.child_type(value)
11841184
# we need to call here as get_variable_reference modifies the state
11851185
{:ok, var_id} =
1186-
GenServer.call(__MODULE__, {:get_variable_reference, child_type, :evaluator, value})
1186+
GenServer.call(
1187+
__MODULE__,
1188+
{:get_variable_reference, child_type, :evaluator, value},
1189+
30_000
1190+
)
11871191

11881192
%{
11891193
"result" => inspect(value),
@@ -1401,7 +1405,7 @@ defmodule ElixirLS.Debugger.Server do
14011405
|> Enum.reduce([], fn {name, value}, acc ->
14021406
child_type = Variables.child_type(value)
14031407

1404-
case GenServer.call(__MODULE__, {:get_variable_reference, child_type, pid, value}) do
1408+
case GenServer.call(__MODULE__, {:get_variable_reference, child_type, pid, value}, 30_000) do
14051409
{:ok, var_id} ->
14061410
json =
14071411
%{

0 commit comments

Comments
 (0)