mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
3e96225210
This reduces some of the overhead caused by many concurrent fileclient requests from minions. Additionally, initializing remotes has been folded into the GitBase class' dunder init. Instantiating an instance and initializing its remotes were initially split so that an object could simply be created with the master opts so that the configuration was loaded and nothing else, allowing for certain cases (like clearing the cache files) where we didn't need to actually initialize the remotes. But this both A) presents a problem when the instance being used is a singleton, as you don't want to be re-initializing the remotes all the time, and B) suppressing initialization can be (and is now being) done via a new argument to the dunder init. |
||
---|---|---|
.. | ||
__init__.py | ||
test_fileclient.py | ||
test_gitfs.py | ||
test_map.py | ||
test_roots.py |