You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/04/14 14:43:51 UTC

[GitHub] [couchdb] nickva edited a comment on issue #2777: report changes stats intermittently

nickva edited a comment on issue #2777: report changes stats intermittently
URL: https://github.com/apache/couchdb/pull/2777#issuecomment-613481639
 
 
   @tonysun83 Ah good point.
   
   Could we we pass Request to the `init` call and Response to the `report` call? That might actually make more logical sense. We initialize with the request object so then we can pick off any paths,  headers, whatever we need for stats, keep it in `#st{}` record. Late when we are finished we call `report/` with the final Response object (so we can check if request was aborted and not emit anything).

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services