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

Unified Diff: Tools/GardeningServer/internal_alerts.py

Issue 633983002: Implemented retrieval of alerts history (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Lowered MAX_LIMIT_PER_PAGE because it was generating too large response for AE Created 6 years, 2 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 | « Tools/GardeningServer/app.yaml ('k') | Tools/GardeningServer/internal_alerts_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/internal_alerts.py
diff --git a/Tools/GardeningServer/internal_alerts.py b/Tools/GardeningServer/internal_alerts.py
index 5410e4e9ce93e4d3cabccb5ba7999e01d021baad..75992dc5bce710b1cde5fa68a295358f91a84d11 100644
--- a/Tools/GardeningServer/internal_alerts.py
+++ b/Tools/GardeningServer/internal_alerts.py
@@ -11,7 +11,7 @@ from google.appengine.api import users
class InternalAlertsHandler(alerts.AlertsHandler):
- MEMCACHE_INTERNAL_ALERTS_KEY = 'internal-alerts'
+ INTERNAL_ALERTS_TYPE = 'internal-alerts'
# Has no 'request' member.
# Has no 'response' member.
@@ -37,10 +37,10 @@ class InternalAlertsHandler(alerts.AlertsHandler):
return
super(InternalAlertsHandler, self).get_from_memcache(
- InternalAlertsHandler.MEMCACHE_INTERNAL_ALERTS_KEY)
+ InternalAlertsHandler.INTERNAL_ALERTS_TYPE)
def post(self):
- self.update_alerts(InternalAlertsHandler.MEMCACHE_INTERNAL_ALERTS_KEY)
+ self.update_alerts(InternalAlertsHandler.INTERNAL_ALERTS_TYPE)
app = webapp2.WSGIApplication([
« no previous file with comments | « Tools/GardeningServer/app.yaml ('k') | Tools/GardeningServer/internal_alerts_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698