kaxil commented on code in PR #43707:
URL: https://github.com/apache/airflow/pull/43707#discussion_r1830101432
##########
airflow/api_fastapi/core_api/app.py:
##########
@@ -113,4 +114,5 @@ def init_config(app: FastAPI) -> None:
allow_headers=allow_headers,
)
+ app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
Review Comment:
Are there any gotcha's or tradeoffs with compression? I assume a minor CPU
overhead?
##########
airflow/api_fastapi/core_api/app.py:
##########
@@ -113,4 +114,5 @@ def init_config(app: FastAPI) -> None:
allow_headers=allow_headers,
)
+ app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
Review Comment:
Are there any gotchas or tradeoffs with compression? I assume a minor CPU
overhead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]