Skip to content

Commit

Permalink
Change worker_refresh_interval fallback to default of 30 (#9588)
Browse files Browse the repository at this point in the history
The default value for worker_refresh_interval is 30, so we should align the fallback to 30 too

(cherry picked from commit b6c27f2)
  • Loading branch information
kaxil committed Jun 30, 2020
1 parent 0314eae commit d9dbe9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def monitor_gunicorn(gunicorn_master_proc):
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
Expand Down

0 comments on commit d9dbe9d

Please sign in to comment.