Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Ben Andersen <156872503+isohedronpipeline@users.noreply.github.com>
  • Loading branch information
1 parent 5a55f51 commit 5ea2576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rez/resolved_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def __init__(self, package_requests, verbosity=0, timestamp=None,
package_caching (bool|None): If True, apply package caching settings
as per the config. If None, enable as determined by config
setting :data:`package_cache_during_build`.
package_cache_async (Optional[bool]): If True, cache packages asynchronously.
package_cache_async (bool|None): If True, cache packages asynchronously.
If None, use the config setting :data:`package_cache_async`
"""
self.load_path = None
Expand Down
6 changes: 4 additions & 2 deletions src/rez/rezconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,10 @@
# Enable package caching during a package build.
package_cache_during_build = False

# Enable package caching to run asynchronously during a resolve.
# If this is false, a resolve will block until all packages are cached.
# Asynchronously cache packages. If this is false, resolves will block until
# all packages are cached.
#
# .. versionadded:: 2.1.0
package_cache_async = True

# Allow caching of local packages. You would only want to set this True for
Expand Down

0 comments on commit 5ea2576

Please sign in to comment.