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

Unified Diff: Tools/GardeningServer/internal_alerts.py

Issue 643613002: Revert of Implemented retrieval of alerts history (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 75992dc5bce710b1cde5fa68a295358f91a84d11..5410e4e9ce93e4d3cabccb5ba7999e01d021baad 100644
--- a/Tools/GardeningServer/internal_alerts.py
+++ b/Tools/GardeningServer/internal_alerts.py
@@ -11,7 +11,7 @@
class InternalAlertsHandler(alerts.AlertsHandler):
- INTERNAL_ALERTS_TYPE = 'internal-alerts'
+ MEMCACHE_INTERNAL_ALERTS_KEY = 'internal-alerts'
# Has no 'request' member.
# Has no 'response' member.
@@ -37,10 +37,10 @@
return
super(InternalAlertsHandler, self).get_from_memcache(
- InternalAlertsHandler.INTERNAL_ALERTS_TYPE)
+ InternalAlertsHandler.MEMCACHE_INTERNAL_ALERTS_KEY)
def post(self):
- self.update_alerts(InternalAlertsHandler.INTERNAL_ALERTS_TYPE)
+ self.update_alerts(InternalAlertsHandler.MEMCACHE_INTERNAL_ALERTS_KEY)
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