Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra Trimming Question #181

Open
jquacinella opened this issue May 3, 2016 · 1 comment
Open

Cassandra Trimming Question #181

jquacinella opened this issue May 3, 2016 · 1 comment

Comments

@jquacinella
Copy link

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!

@tschellenbach
Copy link
Owner

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

@tbarbugli tbarbugli modified the milestone: Docs improvements Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants