We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When setting a context timeout of x duration, the request made to FGetObject always lasts 30 secs. Context is not returned until that time is passed
The following code returns the error after 30 secs:
scalityContext, cancel := context.WithTimeout(context.Background(), 5 * time.Second) defer cancel() err := scality.client.FGetObject(scalityContext, bucket, itemName, filePath, minio.GetObjectOptions{}) if err != nil { return errorhandler.CreateInternalError(fmt.Sprintf("Error in Scality getting item: [%s] bucket: [%s]", itemName, bucket), err) }
The text was updated successfully, but these errors were encountered:
Fix - context timeout not launched on get bucket location minio#1413
3d33dc8
fix: context timeout not launched on get bucket location #1413 (#1414)
26addf2
fixed by #1414
Sorry, something went wrong.
No branches or pull requests
When setting a context timeout of x duration, the request made to FGetObject always lasts 30 secs. Context is not returned until that time is passed
The following code returns the error after 30 secs:
The text was updated successfully, but these errors were encountered: