FEATURE: erode bounce score every time an email is sent

Introduces a hidden setting (default is 0.1) that erodes bounce score
every time we send an email. This means that erratic failures are less
painful cause system auto corrects
This commit is contained in:
Sam
2018-08-28 17:01:44 +10:00
parent e25a6e085e
commit 740308675b
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class ChangeBounceScoreToFloat < ActiveRecord::Migration[5.2]
def change
change_column :user_stats, :bounce_score, :float
end
end