Skip to content

Commit

Permalink
Change worker_refresh_interval fallback to default of 30 (apache#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
  • Loading branch information
kaxil authored Jun 30, 2020
1 parent 7f70f6f commit b6c27f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/cli/commands/webserver_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,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 b6c27f2

Please sign in to comment.