Skip to content

Commit

Permalink
Merge branch 'master' into fix-routes-mount-path
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh authored Aug 21, 2017
2 parents 65e56d3 + ccf978f commit 170ca04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};

//==============================================================================
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/02-01-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion services/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(';')
Expand Down

0 comments on commit 170ca04

Please sign in to comment.