Show database file size on info page
This commit is contained in:
@@ -9,6 +9,6 @@ func MemInfo() string {
|
||||
stats := runtime.MemStats{}
|
||||
runtime.ReadMemStats(&stats)
|
||||
|
||||
return fmt.Sprintf("%.3fMb", float64(stats.Alloc)/1024.0/1024.0)
|
||||
return fmt.Sprintf("%.1fMb", float64(stats.Alloc)/1024.0/1024.0)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user