Skip to content
New issue

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

Suggest removal of object limit for get_bucket() #317

Open
stevecondylios opened this issue Oct 11, 2019 · 0 comments
Open

Suggest removal of object limit for get_bucket() #317

stevecondylios opened this issue Oct 11, 2019 · 0 comments

Comments

@stevecondylios
Copy link

To make get_bucket() more reliable in automation, I suggest removing the default limit of 1000 objects, given this is low for a function whose performance is fast, and that the function is likely to be used in automated processes which can be painful to debug when they go down. Also, if being used interactively, the user can always cancel the function at any time.

A quick test of 15k objects takes ~30 seconds. I would suggest a change to Inf would be ideal, given most users probably won't have buckets with objects in the millions, hence the risk of starting a long processes accidentally is low, especially relative to the benefits of improved reliability (since users may not know of the limit unless they've hit it before)

@stevecondylios stevecondylios changed the title Suggest removal of object limit in get_bucket() Suggest removal of object limit for get_bucket() Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant