potiuk commented on code in PR #39055:
URL: https://github.com/apache/airflow/pull/39055#discussion_r1567015376


##########
airflow/cli/commands/internal_api_command.py:
##########
@@ -102,7 +102,7 @@ def internal_api(args):
             "--workers",
             str(num_workers),
             "--worker-class",
-            str(args.workerclass),
+            "uvicorn.workers.UvicornWorker",

Review Comment:
   TODO: We need to remove option of using different workers and only leave the 
uvicorn worker.



##########
airflow/cli/commands/internal_api_command.py:
##########
@@ -74,8 +74,8 @@ def internal_api(args):
         log.info("Starting the Internal API server on port %s and host %s.", 
args.port, args.hostname)
         app = create_app(testing=conf.getboolean("core", "unit_test_mode"))
         app.run(
-            debug=True,  # nosec
-            use_reloader=not app.config["TESTING"],
+            log_level="debug",
+            # reload=not app.app.config["TESTING"],

Review Comment:
   TODO: We still need to sort out this reload option here.



-- 
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]

Reply via email to