Update settings.go

This commit is contained in:
DaneEveritt
2026-02-19 18:53:55 -08:00
parent a57a342456
commit aa511f4180

View File

@@ -107,9 +107,9 @@ func (l Limits) AsContainerResources() container.Resources {
Memory: l.BoundedMemoryLimit(),
MemoryReservation: l.MemoryLimit * 1024 * 1024,
MemorySwap: l.ConvertedSwap(),
// BlkioWeight: l.IoWeight,
OomKillDisable: &l.OOMDisabled,
PidsLimit: &pids,
BlkioWeight: l.IoWeight,
OomKillDisable: &l.OOMDisabled,
PidsLimit: &pids,
}
// If the CPU Limit is not set, don't send any of these fields through. Providing