Disable OOM killer for apps with less than 1.5 GB of RAM
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Adam Štrauch 2023-09-29 13:33:49 +02:00
parent 072a643c1d
commit 37ca4ece39
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -339,7 +339,7 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i
}
OOMKillDisable := false
if memory < 250 {
if memory < 1500 {
OOMKillDisable = true
}