只将actor优先级降低
This commit is contained in:
parent
69accd5f61
commit
55578c620e
|
@ -191,7 +191,7 @@ def train(flags):
|
|||
})
|
||||
|
||||
parent = psutil.Process()
|
||||
parent.nice(psutil.BELOW_NORMAL_PRIORITY_CLASS)
|
||||
parent.nice(psutil.NORMAL_PRIORITY_CLASS)
|
||||
for child in parent.children():
|
||||
child.nice(psutil.BELOW_NORMAL_PRIORITY_CLASS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue