-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removeDoc closes socket? #48
Comments
What are in "query" variable? |
The full code is here:
It's not the db.request that's failing, by query shouldn't matter. If I just console.log(bar.doc._id) and bar.doc._rev I get all the records logged out correctly. |
Huh, I'm cannot reproduce that. In my case, all docs removed successfully. (node.js 0.8.6 && CouchDB 1.2.0, with default settings) p.s. oops, accidentally closed task |
I'm running node 0.8.9 and couch 1.2.0 on localhost. Hmmm. There's literally nothing other than the config and couch module requires in that file. If I copy the first two lines and put them into the loop just before removeDoc it works (because it's re-establishing a client). |
Trying to delete a load of docs in a loop, the first works but then it throws:
output:
The text was updated successfully, but these errors were encountered: