We have a CLI task for keeping a redis cache populated from RethinkDB. It has a --watch argument which, when true, appends .changes({ includeInitial: true })('new_val') to each query used to rebuild the cache.
The code and queries being executed are otherwise identical, but running with --watch results in ~3x the memory consumption.
We have a CLI task for keeping a redis cache populated from RethinkDB. It has a
--watch
argument which, whentrue
, appends.changes({ includeInitial: true })('new_val')
to each query used to rebuild the cache.The code and queries being executed are otherwise identical, but running with
--watch
results in ~3x the memory consumption.I think this may be related to #263... perhaps the fix mentioned there (https://github.com/neumino/rethinkdbdash/commit/c323d4958383be41e16f525cc5cac061a4c9ef29) was not ported over to the stream handling code?