Skip to content

Commit

Permalink
Turn ALLOW_SHARED_TASK_RESOURCES on by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley authored and ipanova committed Oct 1, 2021
1 parent b87149b commit 636fe0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES/plugin_api/9474.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`ALLOW_SHARED_TASK_RESOURCES` is now enabled by default. If all goes smoothly, this will become permanent and the setting will be removed in the next release.
4 changes: 1 addition & 3 deletions docs/configuration/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,7 @@ ALLOW_SHARED_TASK_RESOURCES
^^^^^^^^^^^^^^^^^^^^^^^^^^^

This option allows tasks to have a shared (read only) simultaneous access to some resources. It
defaults to ``False``, but when set to ``True`` may improve tasking throughput.

.. note:: This option will only take effect when using the queueless worker type.
defaults to ``True``, but can be turned off to return to the old behavior in the event of bugs.

.. note:: As a tech preview, this option is meant to be temporary. It will default to ``True``
in 3.16 and be removed in 3.17.
Expand Down
2 changes: 1 addition & 1 deletion pulpcore/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@

ALLOWED_EXPORT_PATHS = []

ALLOW_SHARED_TASK_RESOURCES = False
ALLOW_SHARED_TASK_RESOURCES = True

PROFILE_STAGES_API = False

Expand Down

0 comments on commit 636fe0d

Please sign in to comment.