drago-f5a opened a new pull request #13470: URL: https://github.com/apache/airflow/pull/13470
As described in #13469, when gunicorn master processes exits, the webserver process continues to run indefinitely, periodically logging an error message. The method `_spawn_new_workers()` attempts to spawn new workers, and if that fails the webserver is meant to exit. However, this does not currently work due to a logical mistake when computing number of workers to spawn, and a typo (passing current number of workers instead of the count of workers to spawn). Btw, I believe the same issue is present in the 2.0 branch. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
