Stop all inker call timeouts (#406)

This commit is contained in:
Martin Sumner 2023-05-11 15:14:58 +01:00
parent 7509191466
commit bc87273c76

View file

@ -415,7 +415,7 @@ ink_roll(Pid) ->
%% @doc %% @doc
%% Backup the journal to the specified path %% Backup the journal to the specified path
ink_backup(Pid, BackupPath) -> ink_backup(Pid, BackupPath) ->
gen_server:call(Pid, {backup, BackupPath}). gen_server:call(Pid, {backup, BackupPath}, infinity).
-spec ink_getmanifest(pid()) -> list(). -spec ink_getmanifest(pid()) -> list().
%% @doc %% @doc
@ -434,7 +434,7 @@ ink_printmanifest(Pid) ->
%% @doc %% @doc
%% Check that the Inker doesn't have a SQN behind that of the Ledger %% Check that the Inker doesn't have a SQN behind that of the Ledger
ink_checksqn(Pid, LedgerSQN) -> ink_checksqn(Pid, LedgerSQN) ->
gen_server:call(Pid, {check_sqn, LedgerSQN}). gen_server:call(Pid, {check_sqn, LedgerSQN}, infinity).
-spec ink_loglevel(pid(), leveled_log:log_level()) -> ok. -spec ink_loglevel(pid(), leveled_log:log_level()) -> ok.
%% @doc %% @doc
@ -459,7 +459,7 @@ ink_removelogs(Pid, ForcedLogs) ->
%% Return the current Journal SQN, which may be in the actual past if the Inker %% Return the current Journal SQN, which may be in the actual past if the Inker
%% is in fact a snapshot %% is in fact a snapshot
ink_getjournalsqn(Pid) -> ink_getjournalsqn(Pid) ->
gen_server:call(Pid, get_journalsqn). gen_server:call(Pid, get_journalsqn, infinity).
%%%============================================================================ %%%============================================================================
%%% gen_server callbacks %%% gen_server callbacks