From 3438c1bfadc7417bc99ab5786b175dc9a65be30e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 26 Feb 2018 15:08:22 -0500 Subject: [PATCH] Add new config fields to the schema --- util/config/schema.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/util/config/schema.py b/util/config/schema.py index f9860946d..4cc4a825d 100644 --- a/util/config/schema.py +++ b/util/config/schema.py @@ -707,6 +707,16 @@ CONFIG_SCHEMA = { 'description': 'If not None, the default maximum number of builds that can be queued in a namespace.', 'x-example': 20, }, + 'SUCCESSIVE_TRIGGER_INTERNAL_ERROR_DISABLE_THRESHOLD': { + 'type': ['number', 'null'], + 'description': 'If not None, the number of successive internal errors that can occur before a build trigger is automatically disabled. Defaults to 5.', + 'x-example': 10, + }, + 'SUCCESSIVE_TRIGGER_FAILURE_DISABLE_THRESHOLD': { + 'type': ['number', 'null'], + 'description': 'If not None, the number of successive failures that can occur before a build trigger is automatically disabled. Defaults to 100.', + 'x-example': 50, + }, # Login 'FEATURE_GITHUB_LOGIN': {