PaulMougel / msgr2

Monsignor RSS Reader
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Too many DELETE requests and CouchDB fails #25

Closed PaulMougel closed 11 years ago

PaulMougel commented 11 years ago

(Not really a bug as a workaround is already in place)

b069709511443f6db9e421bcd3cb6431faa03e63 displayed an interesting behavior of CouchDB with multiple concurrent DELETE requests: it fails and closes every connection (ECONNRESET).

This was fixed by limiting the number of concurrent requests with deferred's gate function, but we need to find a proper way to do it.

Maybe use the bulk API?