mirror of
https://github.com/pterodactyl/wings.git
synced 2026-04-20 11:02:42 -05:00
Update settings.go
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user