max download doesn't work
codenoid opened this issue · 2 comments
codenoid commented
i do test on badger database
netskol commented
hi. i have rewritten error handling:
// download rate limiting, check if the quota are still sufficient
quotaByte, err := stg.Get("mg-" + fileID)
if err != nil {
fmt.Println("error: ", err)
fmt.Println("Quota bytes = ", quotaByte)
}
which gives the error:
error: Key not found
and Quota byte = []