Minor bug getting the reduce_limit setting
authorPaul J. Davis <paul.joseph.davis@gmail.com>
Tue, 24 Jan 2012 09:29:40 +0000 (03:29 -0600)
committerPaul J. Davis <paul.joseph.davis@gmail.com>
Tue, 24 Jan 2012 09:29:40 +0000 (03:29 -0600)
apps/couch/src/couch_proc_manager.erl

index 438f797..509da9b 100644 (file)
@@ -150,7 +150,7 @@ make_proc(Pid, Lang, Mod) ->
     {ok, Proc}.
 
 get_query_server_config() ->
-    Limit = couch_config:get("query_server_config", <<"reduce_limit">>, "true"),
+    Limit = couch_config:get("query_server_config", "reduce_limit", "true"),
     {[{<<"reduce_limit">>, list_to_atom(Limit)}]}.
 
 proc_with_ddoc(DDoc, DDocKey, Procs) ->