We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef777e commit 2366a24Copy full SHA for 2366a24
app/profiling.py
@@ -11,9 +11,9 @@
11
def add_profiler(app: FastAPI, mount: str = "/_pyloot"):
12
try:
13
14
- from pyloot import PyLoot
+ from pyloot import PyLoot, PyLootServer
15
16
- pyloot = PyLoot()
+ pyloot = PyLoot(server=PyLootServer(disable_response_gzip=True))
17
18
def pyloot_wrapper(wsgi_environ, start_response):
19
pyloot_environ = wsgi_environ.copy()
0 commit comments