rnewson commented on a change in pull request #3366: URL: https://github.com/apache/couchdb/pull/3366#discussion_r573967470
########## File path: src/couch/src/couch_server.erl ########## @@ -72,12 +73,16 @@ get_uuid() -> end. get_stats() -> - {ok, #server{start_time=Time,dbs_open=Open}} = - gen_server:call(couch_server, get_server), + Fun = fun(N, {TimeAcc, OpenAcc}) -> + {ok, #server{start_time=Time,dbs_open=Open}} = + gen_server:call(couch_server(N), get_server), + {max(Time, TimeAcc), Open + OpenAcc} end, Review comment: "Time" here is a formatted datetime string, so 'max' is a bit arbitrary. all the couch_server_X's are started at the same time, not sure we care? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org