mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #53829 from saltstack/fix_stats_2019.2.1
Fix stats on windows
This commit is contained in:
commit
5064027b9d
1 changed files with 2 additions and 0 deletions
|
@ -1002,6 +1002,7 @@ class MWorker(salt.utils.process.SignalHandlingMultiprocessingProcess):
|
|||
self.mkey = state['mkey']
|
||||
self.key = state['key']
|
||||
self.k_mtime = state['k_mtime']
|
||||
self.stats = state['stats']
|
||||
SMaster.secrets = state['secrets']
|
||||
|
||||
def __getstate__(self):
|
||||
|
@ -1012,6 +1013,7 @@ class MWorker(salt.utils.process.SignalHandlingMultiprocessingProcess):
|
|||
'key': self.key,
|
||||
'k_mtime': self.k_mtime,
|
||||
'secrets': SMaster.secrets,
|
||||
'stats': self.stats,
|
||||
'log_queue': self.log_queue,
|
||||
'log_queue_level': self.log_queue_level
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue