mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
remove deprecated/unneeded old code
This commit is contained in:
parent
e675dc7a3f
commit
e64c4d2969
@ -506,17 +506,6 @@ class ConnectedCache(multiprocessing.Process):
|
||||
'''
|
||||
self.stop()
|
||||
|
||||
def renew(self):
|
||||
'''
|
||||
compares the current minion list against the ips
|
||||
connected on the master publisher port and updates
|
||||
the minion list accordingly
|
||||
'''
|
||||
log.debug('ConCache renewing minion cache')
|
||||
new_mins = list(salt.utils.minions.CkMinions(self.opts).connected_ids())
|
||||
self.minions = new_mins
|
||||
log.debug('ConCache received {0} minion ids'.format(len(new_mins)))
|
||||
|
||||
def cleanup(self):
|
||||
'''
|
||||
remove sockets on shutdown
|
||||
@ -615,10 +604,6 @@ class ConnectedCache(multiprocessing.Process):
|
||||
reply = serial.dumps(self.minions)
|
||||
creq_in.send(reply)
|
||||
|
||||
else:
|
||||
reply = serial.dumps(False)
|
||||
creq_in.send(reply)
|
||||
|
||||
# check for next cache-update from workers
|
||||
elif socks.get(cupd_in) == zmq.POLLIN:
|
||||
new_c_data = serial.loads(cupd_in.recv())
|
||||
|
Loading…
Reference in New Issue
Block a user