Hi,
My config.json looks like this:
{
"interface":":4980",
"adminInterface":":4981",
"log":["CRUD", "REST"],
"databases":{
"db_5_29_14":{
*"revs_limit" : 50,*
"server":"http://localhost:8091",
"bucket":"5_29_14",
"sync":`function(doc) { channel(doc.channels); }`
}
}
}
It has been running with this config for about 2 months, yet I see at least
one document that has in excess of 3,000 revs (the doc itself is nearly
16,000 lines long, mostly because of revision metadata). I could be
imagining things but there seems to be a slight lag whenever interacting
with these docs.
How is 'revs_limit' supposed to work? I assumed it would retroactively
remove excess revisions from the doc's _sync field, but maybe I'm wrong? Is
there any way to compress the doc size? Could not find good documentation
on this one outside of the go file itself (which didn't have quite enough
info to resolve the problem).
Thanks,
-Chris
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/0db1e8e7-06d4-4f62-b488-9f8c7873cd05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.