You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into serious problems with the following scenario: When a user logs in the first time, we create a user specific couch db and insert some design documents to that db. this is realized via a seperate node process with nano.
In this case, the couch-daemon (we use couchmagick) gets a massive bulk of events (creation of new db, updates for several design documents, etc.). I don't know why, but then the new db is not watched by couch-daemon, if if the dbs name is covered by the whitelist (/.*/ on our case).
Applying the above patch avoids the problem. I created a pull request: #17
The text was updated successfully, but these errors were encountered:
regnete
changed the title
ignore 'compacted' events
ignore 'compacted' events and others
Apr 28, 2016
https://github.com/jo/couch-daemon/blob/master/lib/dbs.js#L77 should be changed:
The change avoids unneccesary pushes.
We are running into serious problems with the following scenario: When a user logs in the first time, we create a user specific couch db and insert some design documents to that db. this is realized via a seperate node process with nano.
In this case, the couch-daemon (we use couchmagick) gets a massive bulk of events (creation of new db, updates for several design documents, etc.). I don't know why, but then the new db is not watched by couch-daemon, if if the dbs name is covered by the whitelist (/.*/ on our case).
Applying the above patch avoids the problem. I created a pull request: #17
The text was updated successfully, but these errors were encountered: