mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 14:27:58 -05:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user