file.io
file.io copied to clipboard
max download doesn't work
i do test on badger database
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 = []
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.