Revert "ranking: don't progstack every single post"
This reverts commit 7011c85313
.
remotes/1693176582716663532/tmp_refs/heads/watchparty
parent
7011c85313
commit
047571ae57
|
@ -152,7 +152,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif len(target.body) > 2000:
|
||||
mul = 1 + len(target.body)/5000
|
||||
|
||||
mul = max(mul, 2)
|
||||
mul = min(mul, 2)
|
||||
target.realupvotes *= mul
|
||||
|
||||
g.db.add(target)
|
||||
|
|
Loading…
Reference in New Issue