Add timer for authentication step of RedditController.pre.

Somewhere in the base-pre step is going slow, this should help narrow it
down.
This commit is contained in:
Neil Williams
2014-01-08 14:24:57 -08:00
parent 5b370eb422
commit c9448d5360

View File

@@ -1065,6 +1065,8 @@ class RedditController(MinimalController):
if not isinstance(c.site, FakeSubreddit) and not g.disallow_db_writes:
c.user.update_sr_activity(c.site)
c.request_timer.intermediate("base-auth")
c.over18 = over18()
set_obey_over18()