Skip to content

Commit 79fbbae

Browse files
committed
chore: do not intercept silk in debug mode
generating too much noise in SQL panel
1 parent 8cba954 commit 79fbbae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bullet/bullet/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@
183183

184184

185185
def silky_intercept(request):
186+
if DEBUG:
187+
return False
188+
186189
if request.path.startswith("/silk/"):
187190
return False
188191
return random.random() < 0.1

0 commit comments

Comments
 (0)