Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions airflow/config_templates/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@
type: string
example: ~
default: "16"
- name: mp_start_method
description: |
The name of the method used in order to start Python processes via the multiprocessing module.
This corresponds directly with the options available in the Python docs:
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.set_start_method.
Must be one of the values returned by:
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.get_all_start_methods.
version_added: "2.0.0"
type: string
default: ~
example: "fork"
- name: load_examples
description: |
Whether to load the DAG examples that ship with Airflow. It's good to
Expand Down
8 changes: 8 additions & 0 deletions airflow/config_templates/default_airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ dags_are_paused_at_creation = True
# which is defaulted as ``max_active_runs_per_dag``.
max_active_runs_per_dag = 16

# The name of the method used in order to start Python processes via the multiprocessing module.
# This corresponds directly with the options available in the Python docs:
# https://docs.python.org/3/library/multiprocessing.html#multiprocessing.set_start_method.
# Must be one of the values returned by:
# https://docs.python.org/3/library/multiprocessing.html#multiprocessing.get_all_start_methods.
# Example: mp_start_method = fork
# mp_start_method =

# Whether to load the DAG examples that ship with Airflow. It's good to
# get started, but you probably want to set this to ``False`` in a production
# environment
Expand Down