From 43452823e491da8f7bfa98369fe396bce55ee8a8 Mon Sep 17 00:00:00 2001 From: Giovanni Visciano Date: Sat, 21 Aug 2021 16:48:23 +0200 Subject: [PATCH] GenServer.call default infinity timeout --- lib/dataspecs/cache.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dataspecs/cache.ex b/lib/dataspecs/cache.ex index 74aa732..4af9103 100644 --- a/lib/dataspecs/cache.ex +++ b/lib/dataspecs/cache.ex @@ -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