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

Unified Diff: appengine/chromium_try_flakes/main.py

Issue 1660043002: Move flaky run processing into a taskqueue (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 11 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
Index: appengine/chromium_try_flakes/main.py
diff --git a/appengine/chromium_try_flakes/main.py b/appengine/chromium_try_flakes/main.py
index 842f13cb508867d21eeb4adb16bd043ea429cbdc..4decacdf95f282d68197dc7ab9910ff4d3643ed5 100644
--- a/appengine/chromium_try_flakes/main.py
+++ b/appengine/chromium_try_flakes/main.py
@@ -22,7 +22,7 @@ from handlers.index import Index
from handlers.post_comment import PostComment
from handlers.all_flake_occurrences import AllFlakeOccurrences
from handlers.search import Search
-from handlers.flake_issues import ProcessIssue, UpdateIfStaleIssue
+from handlers import flake_issues
handlers = [
(r'/', Index),
@@ -30,8 +30,9 @@ handlers = [
(r'/all_flake_occurrences', AllFlakeOccurrences),
(r'/search', Search),
(r'/cron/(.*)', CronDispatch),
- (r'/issues/process/(.*)', ProcessIssue),
- (r'/issues/update-if-stale/(.*)', UpdateIfStaleIssue),
+ (r'/issues/process/(.*)', flake_issues.ProcessIssue),
+ (r'/issues/update-if-stale/(.*)', flake_issues.UpdateIfStaleIssue),
+ (r'/issues/create_flaky_run', flake_issues.CreateFlakyRun),
]
app = webapp2.WSGIApplication(handlers, debug=True)

Powered by Google App Engine
This is Rietveld 408576698