mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Wrong url for db profiler.
This commit is contained in:
parent
7a6eaf883b
commit
a4ae23c34f
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/feed']
|
||||
request.path.startswith('/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