mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
vote: Store vote details for 90 days.
This commit is contained in:
committed by
Max Goodman
parent
dceca6edbc
commit
21b33b5a06
@@ -90,7 +90,7 @@ class CommentVotesByAccount(VotesByAccount):
|
||||
|
||||
class VoteDetailsByThing(tdb_cassandra.View):
|
||||
_use_db = False
|
||||
_ttl = 60 * 60 * 24 * 30
|
||||
_ttl = timedelta(days=90).total_seconds()
|
||||
_fetch_all_columns = True
|
||||
_extra_schema_creation_args = dict(key_validation_class=ASCII_TYPE,
|
||||
default_validation_class=UTF8_TYPE)
|
||||
|
||||
Reference in New Issue
Block a user