jcoglan commented on code in PR #5858:
URL: https://github.com/apache/couchdb/pull/5858#discussion_r3396148826
##########
src/couch_mrview/src/couch_mrview.erl:
##########
@@ -248,12 +248,11 @@ validate(Db, DDoc) ->
ok
end,
- try Views =/= [] andalso couch_query_servers:get_os_process(Lang) of
- false ->
- ok;
+ try couch_query_servers:get_os_process(Lang) of
Review Comment:
Okay, I'll move these checks around so we avoid grabbing an OS process if
it's not needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]