These are chat archives for Automattic/mongoose

23rd
Aug 2016
cepowak
@cepowak
Aug 23 2016 09:32
Hi. Just tried tailable cursors with mongoose (findOne(myFilter).tailable(true).stream()) on a capped collection. I started my mongodb instance in verbose (-v) mode and found out that the mongoose's mongodb driver is polling constantly in search for new docs at the open cursor... It looks like too much network usage. Is this behaviour correct? I'm using nodejs 4.5.0 and mongoose 4.5.9.