diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-28 14:18:44 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-06-28 14:18:44 -0400 |
commit | 170ad0b78691b1060c0a5ba8eb7fbf29482f6bfe (patch) | |
tree | 5caac5b719c12c26e51c6ab67be43cce7b096608 | |
parent | 5f23313f8424fc5d8f54b2550c0d3a290de21c7f (diff) |
wait 1 hour for view requests
-rw-r--r-- | src/fabric_view_map.erl | 2 | ||||
-rw-r--r-- | src/fabric_view_reduce.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_view_map.erl b/src/fabric_view_map.erl index b686b5fc..69133f3b 100644 --- a/src/fabric_view_map.erl +++ b/src/fabric_view_map.erl @@ -27,7 +27,7 @@ go(DbName, DDoc, View, Args, Callback, Acc0) -> user_acc = Acc0 }, try fabric_util:receive_loop(Workers, #shard.ref, fun handle_message/3, - State, infinity, 5000) of + State, infinity, 1000 * 60 * 60) of {ok, NewState} -> {ok, NewState#collector.user_acc}; Error -> diff --git a/src/fabric_view_reduce.erl b/src/fabric_view_reduce.erl index 9514bdef..ca137314 100644 --- a/src/fabric_view_reduce.erl +++ b/src/fabric_view_reduce.erl @@ -34,7 +34,7 @@ go(DbName, DDoc, VName, Args, Callback, Acc0) -> user_acc = Acc0 }, try fabric_util:receive_loop(Workers, #shard.ref, fun handle_message/3, - State, infinity, 5000) of + State, infinity, 1000 * 60 * 60) of {ok, NewState} -> {ok, NewState#collector.user_acc}; Error -> |