nickva opened a new pull request, #5586: URL: https://github.com/apache/couchdb/pull/5586
Previously we used `gen_server:stop/3` with an infinity timeout. We have observed that it's possible for jobs to be stuck waiting for network requests so they may take indefinitely to process the shutdown request (and call their `terminate/2` callback) and that can block the replicator scheduler. To fix it add a 5 second timeout to the stop call and then forceably kill the process. -- 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]
