Skip to content

Commit

Permalink
fix: set Runtime.call/2 timeout to :infinity
Browse files Browse the repository at this point in the history
Fixes #67
  • Loading branch information
mhanberg committed Jun 27, 2023
1 parent 21a5a63 commit 554c8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo_language_server/runtime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule CredoLanguageServer.Runtime do
end

@spec call(pid(), mfa()) :: any()
def call(server, mfa), do: GenServer.call(server, {:call, mfa})
def call(server, mfa), do: GenServer.call(server, {:call, mfa}, :infinity)

@spec ready?(pid()) :: boolean()
def ready?(server), do: GenServer.call(server, :ready?)
Expand Down

0 comments on commit 554c8b9

Please sign in to comment.