Conversation
ab33165 to
d2753fe
Compare
nickva
left a comment
There was a problem hiding this comment.
Wonder if we can just re-use the cleanup process and have a streaming cleanup process (which is already spawn for each streaming request) do the decrementing:
couchdb/src/chttpd/src/chttpd_util.erl
Line 163 in 290314a
And instead of having a dedicated changes clients we could have a streaming clients metric?
|
continuous changes req is the only request that could in theory never end, whereas all the others do, so there's not as strong a need to count them in-flight (and, if those, why not everything?) but I don't feel that strongly against (or for). |
yeah that makes sense, good point |
2e5cfcd to
786a552
Compare
ensure we decrement clients_requesting_changes even if the mochiweb process mediating the change request is killed by the client disconnect detector.
786a552 to
5bbacb1
Compare
Overview
ensure we decrement clients_requesting_changes even if the mochiweb process mediating the change request is killed by the client disconnect detector.
Testing recommendations
follow procedure in #5802
Related Issues or Pull Requests
#5802
Checklist
rel/overlay/etc/default.inisrc/docsfolder