Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 135bce0

Browse files
author
Sam Tavakoli
committed
using existing type
1 parent 010385c commit 135bce0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gascheduler.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ log_permanent_failure(Type, Error, MFA) ->
353353

354354

355355
%% Executes MFA MaxRetries times
356-
-spec execute_do(mfa(), non_neg_integer() | infinity, non_neg_integer()) -> result().
356+
-spec execute_do(mfa(), max_retries(), non_neg_integer()) -> result().
357357
execute_do(_MFA, 0, _RetryTimeout) ->
358358
{error, max_retries};
359359
execute_do(MFA = {Mod, Fun, Args}, infinity, RetryTimeout) ->

0 commit comments

Comments
 (0)