Stream-Framework icon indicating copy to clipboard operation
Stream-Framework copied to clipboard

Cassandra Trimming Question

Open jquacinella opened this issue 8 years ago • 1 comments

Two questions regarding feed trimming:

  1. By setting trim_chance to a negative number in my custom feed class, would that be enough to never trim a feed? I read the code and a random number should never be negative so it seems like it would, just want to make sure that is the case. Or if there is a better way to disable trimming?

  2. Any thoughts on why trimming is enabled in the Cassandra Base feed class? I know with Redis you have to trim once in a while, but just curious as to why its enabled in the Cassandra feeds.

Thanks again for such an awesome framework!

jquacinella avatar May 03 '16 17:05 jquacinella

In many use cases it makes sense to disable trimming. Setting it to a negative number should work.

tschellenbach avatar May 03 '16 17:05 tschellenbach