MCPcopy Index your code
hub / github.com/saltstack/salt / __init__

Method __init__

salt/master.py:847–860  ·  view source on GitHub ↗

Create a salt master server instance :param dict: The salt options

(self, opts)

Source from the content-addressed store, hash-verified

845 """
846
847 def __init__(self, opts):
848 """
849 Create a salt master server instance
850
851 :param dict: The salt options
852 """
853 if zmq and ZMQ_VERSION_INFO < (3, 2):
854 log.warning(
855 "You have a version of ZMQ less than ZMQ 3.2! There are "
856 "known connection keep-alive issues with ZMQ < 3.2 which "
857 "may result in loss of contact with minions. Please "
858 "upgrade your ZMQ!"
859 )
860 SMaster.__init__(self, opts)
861
862 def __set_max_open_files(self):
863 if not HAS_RESOURCE:

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

warningMethod · 0.80

Tested by

no test coverage detected