change user deletion scope from 120 days to 60 days

This commit is contained in:
r888888888
2015-10-19 13:23:18 -07:00
parent 8789aeb9d8
commit 09ca8df6b3
4 changed files with 5 additions and 5 deletions

View File

@@ -523,7 +523,7 @@ class User < ActiveRecord::Base
end
def max_upload_limit
dcon = [deletion_confidence(120), 15].min
dcon = [deletion_confidence(60), 15].min
[(base_upload_limit * (1 - (dcon / 15.0))).ceil, 10].max
end