chore(gw): increase timeout to update gateway instance

This commit is contained in:
JianBo He 2022-05-12 15:33:27 +08:00
parent 8b0adf69d2
commit 18d265cecd
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@ update(Pid, Config) ->
call(Pid, {update, Config}). call(Pid, {update, Config}).
call(Pid, Req) -> call(Pid, Req) ->
gen_server:call(Pid, Req, 5000). %% The large timeout aim to get the modified results of the dependent
%% resources
gen_server:call(Pid, Req, 15000).
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% gen_server callbacks %% gen_server callbacks