Add logging for slow requests
This commit is contained in:
parent
fc852d1bc7
commit
b95acb6202
2 changed files with 25 additions and 0 deletions
|
@ -247,6 +247,7 @@ INSTALLED_APPS += (
|
|||
)
|
||||
|
||||
MIDDLEWARE = (
|
||||
"judge.middleware.SlowRequestMiddleware",
|
||||
"judge.middleware.ShortCircuitMiddleware",
|
||||
"django.contrib.sessions.middleware.SessionMiddleware",
|
||||
"django.middleware.locale.LocaleMiddleware",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue