Skip to content

Commit

Permalink
GenServer.call default infinity timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Visciano committed Aug 21, 2021
1 parent 27fb75e commit 4345282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dataspecs/cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule DataSpecs.Cache do
end

def set(type_loaders) do
GenServer.call(@name, {:set, type_loaders})
GenServer.call(@name, {:set, type_loaders}, :infinity)
end

def start_link(_args) do
Expand Down

0 comments on commit 4345282

Please sign in to comment.