This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4680580e28 Documentation: Warning for _AIRFLOW_PATCH_GEVENT  (#40677)
4680580e28 is described below

commit 4680580e28966b126a2a946f2dcf0921c8e89395
Author: Pierre Penelon <[email protected]>
AuthorDate: Fri Jul 12 13:47:50 2024 +0200

    Documentation: Warning for _AIRFLOW_PATCH_GEVENT  (#40677)
---
 airflow/config_templates/config.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/airflow/config_templates/config.yml 
b/airflow/config_templates/config.yml
index 69f7f07139..1cd39166ba 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1688,6 +1688,9 @@ webserver:
             When using ``gevent`` you might also want to set the 
``_AIRFLOW_PATCH_GEVENT``
             environment variable to ``"1"`` to make sure gevent patching is 
done as early as possible.
 
+            Be careful to set ``_AIRFLOW_PATCH_GEVENT`` only on the web server 
as gevent patching may
+            affect the scheduler behavior via the ``multiprocessing`` sockets 
module and cause crash.
+
             See related Issues / PRs for more details:
 
             * https://github.com/benoitc/gunicorn/issues/2796

Reply via email to