Add Middleware to trace memory usage

This commit is contained in:
Georg Krause 2021-04-08 15:03:42 +02:00
commit c4664de41f
No known key found for this signature in database
GPG key ID: FD479B9A4D48E632
3 changed files with 20 additions and 0 deletions

View file

@ -104,4 +104,5 @@ if env.bool("WEAK_PASSWORDS", default=False):
MIDDLEWARE = (
"funkwhale_api.common.middleware.DevHttpsMiddleware",
"funkwhale_api.common.middleware.ProfilerMiddleware",
"funkwhale_api.common.middleware.PymallocMiddleware",
) + MIDDLEWARE