Skip to content

Commit

Permalink
Make CommentSortsCache use CL ONE for reads.
Browse files Browse the repository at this point in the history
  • Loading branch information
spladug committed Nov 30, 2011
1 parent 2677fd3 commit bf88055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions r2/r2/models/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ class CommentSortsCache(tdb_cassandra.View):
the candidate order"""
_use_db = True
_value_type = 'float'
_read_consistency_level = tdb_cassandra.CL.ONE

class StarkComment(Comment):
"""Render class for the comments in the top-comments display in
Expand Down

0 comments on commit bf88055

Please sign in to comment.