Skip to content

Commit

Permalink
Add default optimization_order to LazyLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhestkov committed Aug 9, 2024
1 parent 1130786 commit 9f99480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/loader/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ def __init__(
opts[i], salt.loader.context.NamedLoaderContext
):
opts[i] = opts[i].value()
if "optimization_order" not in opts:
optimization_orderp["optimization_order"] = [0, 1, 2]
threadsafety = not opts.get("multiprocessing")
self.opts = self.__prep_mod_opts(opts)
self.pack_self = pack_self
Expand Down

0 comments on commit 9f99480

Please sign in to comment.