003 File Manager
Current Path:
/usr/local/lib/python3.8/site-packages/salt/engines
usr
/
local
/
lib
/
python3.8
/
site-packages
/
salt
/
engines
/
📁
..
📄
__init__.py
(3.62 KB)
📁
__pycache__
📄
docker_events.py
(2.84 KB)
📄
fluent.py
(2.05 KB)
📄
http_logstash.py
(2.84 KB)
📄
ircbot.py
(10.22 KB)
📄
junos_syslog.py
(13.18 KB)
📄
libvirt_events.py
(21.28 KB)
📄
logentries.py
(5.64 KB)
📄
logstash_engine.py
(1.77 KB)
📄
napalm_syslog.py
(11.59 KB)
📄
reactor.py
(720 B)
📄
redis_sentinel.py
(2.88 KB)
📄
script.py
(3.33 KB)
📄
slack.py
(35.79 KB)
📄
sqs_events.py
(4.65 KB)
📄
stalekey.py
(3.67 KB)
📄
test.py
(932 B)
📄
thorium.py
(314 B)
📄
webhook.py
(2.78 KB)
Editing: reactor.py
""" Setup Reactor Example Config in Master or Minion config .. code-block:: yaml engines: - reactor: refresh_interval: 60 worker_threads: 10 worker_hwm: 10000 reactor: - 'salt/cloud/*/destroyed': - /srv/reactor/destroy/*.sls """ import salt.utils.reactor def start(refresh_interval=None, worker_threads=None, worker_hwm=None): if refresh_interval is not None: __opts__["reactor_refresh_interval"] = refresh_interval if worker_threads is not None: __opts__["reactor_worker_threads"] = worker_threads if worker_hwm is not None: __opts__["reactor_worker_hwm"] = worker_hwm salt.utils.reactor.Reactor(__opts__).run()
Upload File
Create Folder