SCdF commented on issue #54: socket hangup on db.list with large numbers of ids URL: https://github.com/apache/couchdb-nano/issues/54#issuecomment-316070310 Looks to be something to do with all params being put on the query string, and presumably something in the stack not liking that (perhaps CouchDB). One option is to change [list](https://github.com/apache/couchdb-nano/blob/master/lib/nano.js#L503-L510) to put params as part of the body instead in the query string: ```patch diff --git a/lib/nano.js b/lib/nano.js index 19f6177..9a4a1d6 100644 --- a/lib/nano.js +++ b/lib/nano.js @@ -506,7 +506,7 @@ module.exports = exports = nano = function dbScope(cfg) { qs = {}; } - return relax({db: dbName, path: '_all_docs', qs: qs}, callback); + return relax({db: dbName, path: '_all_docs', body: qs}, callback); } // http://docs.couchdb.org/en/latest/api/database/bulk-api.html#post--db-_all_docs ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services