Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

max download doesn't work #14

Open
codenoid opened this issue Aug 26, 2020 · 2 comments
Open

max download doesn't work #14

codenoid opened this issue Aug 26, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@codenoid
Copy link
Owner

i do test on badger database

@codenoid codenoid added the bug Something isn't working label Aug 26, 2020
@netskol
Copy link

netskol commented Sep 9, 2020

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 = []

@xmanag3r
Copy link

Hello, any update for this, please? when i set maxDownload := 2

Doesn't recognize that one,

Can someone help for this fix?

I've also tried @netskol fix but that didn't return any positive result.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants