Master performance improvement (#34916)

Reduce unneeded call to ckminions from master pub. This should be a 2x improvement or so in pub times.
This commit is contained in:
Mike Place 2016-07-25 09:52:46 -06:00 committed by Nicole Thomas
parent 34dc2fd792
commit ec8fc058d4

View file

@ -2150,7 +2150,7 @@ class ClearFuncs(object):
# always write out to the master job caches
try:
fstr = '{0}.save_load'.format(self.opts['master_job_cache'])
self.mminion.returners[fstr](clear_load['jid'], clear_load)
self.mminion.returners[fstr](clear_load['jid'], clear_load, minions)
except KeyError:
log.critical(
'The specified returner used for the master job cache '