From 1f813da68bbc99d57569c3bc94b6f3e0c720ca91 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Mon, 21 Aug 2017 08:12:36 -0600 Subject: [PATCH] changed trust defaults --- config.js | 2 +- docs/_docs/02-01-configuration.md | 2 +- services/karma.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 22720a36a..11c8b5077 100644 --- a/config.js +++ b/config.js @@ -153,7 +153,7 @@ const CONFIG = { DISABLE_AUTOFLAG_SUSPECT_WORDS: process.env.TALK_DISABLE_AUTOFLAG_SUSPECT_WORDS === 'TRUE', // TRUST_THRESHOLDS defines the thresholds used for automoderation. - TRUST_THRESHOLDS: process.env.TRUST_THRESHOLDS || 'comment:-1,-1;flag:-1,-1' + TRUST_THRESHOLDS: process.env.TRUST_THRESHOLDS || 'comment:2,-1;flag:2,-1' }; //============================================================================== diff --git a/docs/_docs/02-01-configuration.md b/docs/_docs/02-01-configuration.md index 58c828f9a..df790b24b 100644 --- a/docs/_docs/02-01-configuration.md +++ b/docs/_docs/02-01-configuration.md @@ -177,7 +177,7 @@ Trust can auto-moderate comments based on user history. By specifying this option, the behavior can be changed to offer different results. - `TRUST_THRESHOLDS` (_optional_) - configure the reliability thresholds for - flagging and commenting. (Default `comment:-1,-1;flag:-1,-1`) + flagging and commenting. (Default `comment:2,-1;flag:2,-1`) The form of the environment variable: diff --git a/services/karma.js b/services/karma.js index a2c087eaa..687b67af0 100644 --- a/services/karma.js +++ b/services/karma.js @@ -19,7 +19,7 @@ const { * * The default used is: * - * comment:-1,-1;flag:-1,-1 + * comment:2,-2;flag:2,-2 */ const parseThresholds = (thresholds) => thresholds .split(';')