mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
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:
parent
f414a502d6
commit
7a6eaf883b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue