nickva opened a new pull request, #5147:
URL: https://github.com/apache/couchdb/pull/5147
We added client monitoring [1] for streaming fabric requests (_all_docs,
_change, etc), but never added them to dreyfus since it's not using the streams
abstraction.
Add client monitoring to dreyfus but exporting a few internal functions from
`fabric_stream`, otherwise the pattern is the same:
* Start a client monitor process with the set of initial workers to
monitor the coordinator and the client socket connection state.
* In case of replacements, update the monitor with the newly spawned
replacement workers.
* On cleanup, call the previous `fabric_stream:cleanup/1` function, and
also stop the monitor process.
[1]
https://github.com/apache/couchdb/commit/d5701f437183c3742aab5812e298d5bb80cb0c15
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]