Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2285)

Unified Diff: appengine/findit/handlers/config.py

Issue 2258373002: [Findit] Move configurable parameters in try_job_util.py to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/findit/handlers/test/config_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/config.py
diff --git a/appengine/findit/handlers/config.py b/appengine/findit/handlers/config.py
index c9e0e03129d37bc98ce835339d148ba8f6a73e34..130550bfd9063ffa419591fe9ef2c49378bea3eb 100644
--- a/appengine/findit/handlers/config.py
+++ b/appengine/findit/handlers/config.py
@@ -151,7 +151,8 @@ def _ValidateTryJobSettings(settings):
return (isinstance(settings, dict) and
isinstance(settings.get('server_query_interval_seconds'), int) and
isinstance(settings.get('job_timeout_hours'), int) and
- isinstance(settings.get('allowed_response_error_times'), int))
+ isinstance(settings.get('allowed_response_error_times'), int) and
+ isinstance(settings.get('max_seconds_look_back_for_group'), int))
def _ValidateSwarmingSettings(settings):
« no previous file with comments | « no previous file | appengine/findit/handlers/test/config_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698