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

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new d9dbe9d  Change worker_refresh_interval fallback to default of 30 
(#9588)
d9dbe9d is described below

commit d9dbe9d34ed14f71ae93ae5a490d272d587978c8
Author: Kaxil Naik <kaxiln...@gmail.com>
AuthorDate: Tue Jun 30 12:58:59 2020 +0100

    Change worker_refresh_interval fallback to default of 30 (#9588)
    
    The default value for worker_refresh_interval is 30, so we should align the 
fallback to 30 too
    
    (cherry picked from commit b6c27f2879a2a8a1dc940e34b92fa5f7125d5894)
---
 airflow/bin/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 9643660..1ed8266 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -1133,7 +1133,7 @@ def webserver(args):
                 gunicorn_master_proc=gunicorn_master_proc,
                 num_workers_expected=num_workers,
                 master_timeout=conf.getint('webserver', 
'web_server_master_timeout'),
-                worker_refresh_interval=conf.getint('webserver', 
'worker_refresh_interval', fallback=10),
+                worker_refresh_interval=conf.getint('webserver', 
'worker_refresh_interval', fallback=30),
                 worker_refresh_batch_size=conf.getint('webserver', 
'worker_refresh_batch_size', fallback=1),
                 reload_on_plugin_change=conf.getboolean(
                     'webserver', 'reload_on_plugin_change', fallback=False

Reply via email to