Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/abuse/trust_score.rb')
-rw-r--r--app/models/abuse/trust_score.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/abuse/trust_score.rb b/app/models/abuse/trust_score.rb
index 9ad7c9b14b1..b7ed504a0ba 100644
--- a/app/models/abuse/trust_score.rb
+++ b/app/models/abuse/trust_score.rb
@@ -3,6 +3,7 @@
module Abuse
class TrustScore < ApplicationRecord
MAX_EVENTS = 100
+ SPAMCHECK_HAM_THRESHOLD = 0.5
self.table_name = 'abuse_trust_scores'