diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fabric_info.erl | 10 | ||||
-rw-r--r-- | src/fabric_open.erl | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/fabric_info.erl b/src/fabric_info.erl index 51529da3..90cd11f0 100644 --- a/src/fabric_info.erl +++ b/src/fabric_info.erl @@ -59,11 +59,13 @@ info_loop(_,_,{ok, Acc}) -> {ok, Acc}; info_loop(RefPartMap, TimeoutRef, AccIn) -> receive {Ref, {ok, Info}} when is_reference(Ref) -> - AccOut = check_all_parts(Ref, RefPartMap, AccIn, ok), - info_loop(RefPartMap, TimeoutRef, AccOut); + %AccOut = check_all_parts(Ref, RefPartMap, AccIn, ok), + %info_loop(RefPartMap, TimeoutRef, AccOut); + ok; {Ref, Reply} when is_reference(Ref) -> - AccOut = check_all_parts(Ref, RefPartMap, AccIn, Reply), - info_loop(RefPartMap, TimeoutRef, AccOut); + %AccOut = check_all_parts(Ref, RefPartMap, AccIn, Reply), + %info_loop(RefPartMap, TimeoutRef, AccOut); + ok; {timeout, TimeoutRef} -> {error, timeout} end. diff --git a/src/fabric_open.erl b/src/fabric_open.erl index 289a0681..cab10c5d 100644 --- a/src/fabric_open.erl +++ b/src/fabric_open.erl @@ -1,7 +1,6 @@ -module(fabric_open). -export([open_doc/4]). --export([open_doc_endpoint/4]). -include("../../couch/src/couch_db.hrl"). |