Formatting update
This commit is contained in:
		
							parent
							
								
									7bba1d4fd6
								
							
						
					
					
						commit
						ced8a5bcbd
					
				| 
						 | 
					@ -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{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user