Repository: couchdb-mem3
Updated Branches:
  refs/heads/master cea3db578 -> 15615b295


Fix type-spec of mem3_sync:next_replication/3


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/1a176b01
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/1a176b01
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/diff/1a176b01

Branch: refs/heads/master
Commit: 1a176b010907b576da60209caa7faa5d10c2536a
Parents: cea3db5
Author: ILYA Khlopotov <iil...@ca.ibm.com>
Authored: Tue May 24 19:10:50 2016 -0700
Committer: ILYA Khlopotov <iil...@ca.ibm.com>
Committed: Tue May 24 19:10:50 2016 -0700

----------------------------------------------------------------------
 src/mem3_sync.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/1a176b01/src/mem3_sync.erl
----------------------------------------------------------------------
diff --git a/src/mem3_sync.erl b/src/mem3_sync.erl
index 88f4ad4..6401815 100644
--- a/src/mem3_sync.erl
+++ b/src/mem3_sync.erl
@@ -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 ->

Reply via email to