You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/07/12 19:13:46 UTC

[GitHub] nickva commented on a change in pull request #665: 631 fix os proc pool eunit

nickva commented on a change in pull request #665: 631 fix os proc pool eunit
URL: https://github.com/apache/couchdb/pull/665#discussion_r127045844
 
 

 ##########
 File path: src/couch/src/couch_native_process.erl
 ##########
 @@ -65,10 +72,12 @@ prompt(Pid, Data) when is_list(Data) ->
 
 % gen_server callbacks
 init([]) ->
-    {ok, #evstate{ddocs=dict:new()}}.
+    V = config:get("query_server_config", "os_process_idle_limit", "300"),
+    Idle = list_to_integer(V) * 500,
 
 Review comment:
   Why the `500` and not `1000`?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services