fix(broker): 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 committed by Zaiming (Stone) Shi
parent ebc1b8521b
commit 154bf0d446
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]}).
call(Broker, Req) ->
gen_server:call(Broker, Req).
gen_server:call(Broker, Req, infinity).
cast(Broker, Msg) ->
gen_server:cast(Broker, Msg).