diff --git a/frappe/app.py b/frappe/app.py index 9373689380..d5114ab019 100644 --- a/frappe/app.py +++ b/frappe/app.py @@ -477,7 +477,7 @@ def serve( from werkzeug.serving import run_simple if profile or os.environ.get("USE_PROFILER"): - application = ProfilerMiddleware(application, sort_by=("cumtime", "calls")) + application = ProfilerMiddleware(application, sort_by=("cumtime", "calls"), restrictions=(200,)) if not os.environ.get("NO_STATICS"): application = application_with_statics()