couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb-couch-mrview pull request: Move query server related stats...
Date Mon, 13 Oct 2014 16:50:26 GMT
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/7#discussion_r18780303
  
    --- Diff: src/couch_mrview_updater.erl ---
    @@ -301,6 +301,7 @@ send_partial(_, _) ->
     
     
     update_task(NumChanges) ->
    +    couch_stats:increment_counter([couchdb, mrview, map_docs], NumChanges),
    --- End diff --
    
    The very equivalent place is this one anonymous function https://github.com/apache/couchdb-couch-mrview/blob/master/src/couch_mrview_updater.erl#L150
, but I'm more not sure if it's good place for stats handling. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message