Commit 2c7cfaf9 authored by sergiyb@chromium.org's avatar sergiyb@chromium.org

Decreased num alerts in history per page to 5 to avoid exceeding memory and response limit

R=machenbach@chromium.org,ojan@chromium.org
BUG=416182

Review URL: https://codereview.chromium.org/657533002

git-svn-id: svn://svn.chromium.org/blink/trunk@183738 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 880effa5
...@@ -112,7 +112,7 @@ class AlertsHandler(webapp2.RequestHandler): ...@@ -112,7 +112,7 @@ class AlertsHandler(webapp2.RequestHandler):
class AlertsHistory(webapp2.RequestHandler): class AlertsHistory(webapp2.RequestHandler):
MAX_LIMIT_PER_PAGE = 50 MAX_LIMIT_PER_PAGE = 5
def get(self): def get(self):
alerts_query = AlertsJSON.query().order(-AlertsJSON.date) alerts_query = AlertsJSON.query().order(-AlertsJSON.date)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment