Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Fix type-spec of mem3_sync:next_replication/3
  • Loading branch information
iilyak committed May 25, 2016
1 parent cea3db5 commit 1a176b010907b576da60209caa7faa5d10c2536a
Showing 1 changed file with 2 additions and 1 deletion.
@@ -273,7 +273,8 @@ find_next_node() ->

%% @doc Finds the next {DbName,Node} pair in the list of waiting replications
%% which does not correspond to an already running replication
-spec next_replication([#job{}], [#job{}], [#job{}]) -> {#job{}, [#job{}]} | nil.
-spec next_replication([#job{}], queue:queue(_), queue:queue(_)) ->
{#job{}, queue:queue(_)} | nil.
next_replication(Active, Waiting, WaitingAndRunning) ->
case is_empty(Waiting) of
true ->

0 comments on commit 1a176b0

Please sign in to comment.