diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_query_servers.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_query_servers.erl b/src/couchdb/couch_query_servers.erl index 0e00e3e2..92c30f82 100644 --- a/src/couchdb/couch_query_servers.erl +++ b/src/couchdb/couch_query_servers.erl @@ -398,7 +398,7 @@ service_waiting({{#doc{body={Props}}=DDoc, DDocKey}, From}, Server) -> ok end; service_waiting({{Lang}, From}, Server) -> - case lang_proc(Lang, Server, fun([P|Procs]) -> + case lang_proc(Lang, Server, fun([P|_Procs]) -> {ok, P} end) of {ok, Proc} -> @@ -426,7 +426,7 @@ lang_proc(Lang, #qserver{ case (catch new_process(Langs, LangLimits, Lang)) of {ok, Proc} -> add_value(PidProcs, Proc#proc.pid, Proc), - {ok, Proc2} = PickFun([Proc]); + PickFun([Proc]); ErrorOrWait -> ErrorOrWait end |