Skip to content

Commit

Permalink
using existing type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Tavakoli committed Dec 12, 2017
1 parent 010385c commit 135bce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gascheduler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ log_permanent_failure(Type, Error, MFA) ->


%% Executes MFA MaxRetries times
-spec execute_do(mfa(), non_neg_integer() | infinity, non_neg_integer()) -> result().
-spec execute_do(mfa(), max_retries(), non_neg_integer()) -> result().
execute_do(_MFA, 0, _RetryTimeout) ->
{error, max_retries};
execute_do(MFA = {Mod, Fun, Args}, infinity, RetryTimeout) ->
Expand Down

0 comments on commit 135bce0

Please sign in to comment.