Formatting update

This commit is contained in:
Dane Everitt 2020-05-08 20:16:16 -07:00
parent 7bba1d4fd6
commit ced8a5bcbd
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -844,8 +844,8 @@ func (d *DockerEnvironment) getResourcesForServer() container.Resources {
// 15%. This avoids unexpected crashes from processes like Java which run over the limit. // 15%. This avoids unexpected crashes from processes like Java which run over the limit.
if d.Server.Build.MemoryLimit <= 2048 { if d.Server.Build.MemoryLimit <= 2048 {
overhead = 1.15 overhead = 1.15
} else if d.Server.Build.MemoryLimit <= 4096 { } else if d.Server.Build.MemoryLimit <= 4096 {
overhead = 1.10; overhead = 1.10
} }
return container.Resources{ return container.Resources{