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

Commit

Permalink
Merge pull request #16 from GameAnalytics/fix_typespec
Browse files Browse the repository at this point in the history
Correcting type spec
  • Loading branch information
sata authored Jan 22, 2018
2 parents b262730 + ec541db commit cb8d66b
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 @@ -120,7 +120,7 @@ set_retry_timeout(Name, RetryTimeout) ->
set_max_workers(Name, Workers) ->
gen_server:call(Name, {set_max_workers, Workers}).

-spec get_max_workers(atom()) -> non_neg_integer().
-spec get_max_workers(atom()) -> {ok, non_neg_integer()}.
get_max_workers(Name) ->
gen_server:call(Name, get_max_workers).

Expand Down

0 comments on commit cb8d66b

Please sign in to comment.