maxmem is in MB not byte
This commit is contained in:
parent
9f85a8901e
commit
69dd863b6c
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user