Assign default GPU if no softlimit is given
This commit is contained in:
parent
aa3a5b4978
commit
d73afc141c
@ -667,6 +667,8 @@ func (r *restream) onBeforeStart(cfg *app.Config) func([]string) ([]string, erro
|
||||
}
|
||||
|
||||
selectedGPU = res.GPU
|
||||
} else {
|
||||
selectedGPU = 0
|
||||
}
|
||||
|
||||
if t, hasTask := r.tasks.Load(cfg.ProcessID()); hasTask {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user