mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
6838a9534f
Inspired by #23373 The basic issue we ran into is that the loader is injecting globals directly into the global namespace. This means that these injected values are not thread or coroutine safe-- meaning we can never do more than one thing at a time. Instead of multiprocessing everything to death-- we can simply use a stack_context to nicely handle this down in the core. As far as the module authors/users are concerned nothing has changed-- but the storage behind the scenes is now per-JID. This same set of classes can easily be used to store additional data (next candidates are reactors, master MWorker tasks, etc.). |
||
---|---|---|
.. | ||
beacons | ||
cli | ||
cloud | ||
config | ||
modules | ||
netapi | ||
output | ||
pillar | ||
renderers | ||
returners | ||
serializers | ||
states | ||
templates | ||
transport | ||
utils | ||
__init__.py | ||
auth_test.py | ||
client_test.py | ||
context_test.py | ||
crypt_test.py | ||
files_test.py | ||
highstateconf_test.py | ||
log_test.py | ||
minion_test.py | ||
payload_test.py | ||
pillar_test.py | ||
pydsl_test.py | ||
pyobjects_test.py | ||
simple.py | ||
spm_test.py | ||
stateconf_test.py | ||
template_test.py | ||
version_test.py |