Use same values between panel and wings when calculating disk

This commit is contained in:
Dane Everitt 2020-09-25 20:31:33 -07:00
parent a3cb1b5ae0
commit 3391d5803e
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -52,7 +52,7 @@ func (s *Server) DiskSpace() int64 {
s.cfg.mu.RLock()
defer s.cfg.mu.RUnlock()
return s.cfg.Build.DiskSpace * 1000.0 * 1000.0
return s.cfg.Build.DiskSpace * 1024.0 * 1024.0
}
func (s *Server) MemoryLimit() int64 {