Let's try showing only single feeds in the DB profiler to see if it's better at showing abnormalities with less noise.

This commit is contained in:
Samuel Clay 2022-03-07 15:33:11 -05:00
parent f414a502d6
commit 7a6eaf883b

View file

@ -68,7 +68,7 @@ class DBProfilerMiddleware:
setattr(request, 'activated_segments', [])
if (
# request.path.startswith('/reader/feed') or
request.path in ['/reader/river_stories']
request.path in ['/reader/feed']
) and random.random() < 0.01:
request.activated_segments.append('db_profiler')
connection.use_debug_cursor = True