fix: broker call should not timeout before client timeout

So change broker call timeout to infinity.
This commit is contained in:
William Yang 2021-04-20 21:57:47 +02:00
parent 17870fdb39
commit 0166bb5a87
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ safe_update_stats(Tab, Stat, MaxStat) ->
-compile({inline, [call/2, cast/2, pick/1]}). -compile({inline, [call/2, cast/2, pick/1]}).
call(Broker, Req) -> call(Broker, Req) ->
gen_server:call(Broker, Req). gen_server:call(Broker, Req, infinity).
cast(Broker, Msg) -> cast(Broker, Msg) ->
gen_server:cast(Broker, Msg). gen_server:cast(Broker, Msg).