maxmem is in MB not byte

This commit is contained in:
Darko Luketic 2019-11-01 17:32:59 +01:00
parent 9f85a8901e
commit 69dd863b6c

View File

@ -64,5 +64,5 @@ func init() {
serveCmd.Flags().StringVarP(&binary, "binary", "b", "/usr/bin/google-chrome", "chrome, chromium or headless binary path")
serveCmd.Flags().DurationVarP(&duration, "duration", "d", 60*time.Minute, "how long the values live in the cache")
serveCmd.Flags().IntVarP(&maxmem, "maxmem", "m", 500*1024*1024, "maximum memory the cache may use in bytes")
serveCmd.Flags().IntVarP(&maxmem, "maxmem", "m", 512, "maximum memory in MB the cache may use")
}