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

Unified Diff: chrome/common/extensions/docs/server2/handler.py

Issue 23081003: Docserver move cron jobs to a backend instance Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
Index: chrome/common/extensions/docs/server2/handler.py
diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py
index 8e5cae8a0d15a672b97674e8d9d5a6558864c87f..7d38a314bf68c2e58538e135e252ed997ca91ae7 100644
--- a/chrome/common/extensions/docs/server2/handler.py
+++ b/chrome/common/extensions/docs/server2/handler.py
@@ -19,6 +19,10 @@ class Handler(Servlet):
def Get(self):
path = self._request.path
+ if path == '_ah/start':
+ return Response.Ok('Backend starting.')
+ if path == '_ah/stop':
+ return Response.Ok('Backend stopping.')
if path.startswith('_'):
servlet_path = path[1:]
if not '/' in servlet_path:

Powered by Google App Engine
This is Rietveld 408576698