Skip to content

Filter bucket list by region - #13

Merged
lusingander merged 4 commits into
lusingander:masterfrom
henrikskog:filter-bucket-list-by-region
Jul 8, 2024
Merged

lusingander merged 4 commits into
lusingander:masterfrom
henrikskog:filter-bucket-list-by-region

Conversation

@henrikskog

@henrikskog henrikskog commented Jul 7, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #12

If you want I can get the locations in parallell. I'm a complete novice in Rust so there are probably ways of writing this neater as well!

@lusingander lusingander left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing! I’ve left a few minor comments.

If you want I can get the locations in parallell.

I agree that reducing the number of requests corresponding to the number of buckets is an improvement we should consider. However, I don't think it needs to be addressed in this pull request.

In practice, bucket names are unique, and regions rarely change, so I think it's acceptable to cache this information.

Comment thread src/client.rs Resolved
Comment thread src/client.rs Resolved
Comment thread src/client.rs Resolved
@henrikskog

Copy link
Copy Markdown
Contributor Author

Thank you for the review! I'll hopefully take a look at it tonight or tomorrow :)

@henrikskog
henrikskog requested a review from lusingander July 7, 2024 19:04
@henrikskog

Copy link
Copy Markdown
Contributor Author

In practice, bucket names are unique, and regions rarely change, so I think it's acceptable to cache this information.

You want me to take a shot at implementing this?

Comment thread src/client.rs Resolved
@lusingander

Copy link
Copy Markdown
Owner

In practice, bucket names are unique, and regions rarely change, so I think it's acceptable to cache this information.

You want me to take a shot at implementing this?

You don't necessarily have to address this issue. But if you'd like to take it on, you are welcome to do so.

Comment thread src/client.rs Resolved
@henrikskog

henrikskog commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor Author

You don't necessarily have to address this issue. But if you'd like to take it on, you are welcome to do so.

Okay great, I'd like to 👍

@lusingander
lusingander merged commit 279edc8 into lusingander:master Jul 8, 2024
@lusingander

Copy link
Copy Markdown
Owner

Thank you!

@henrikskog
henrikskog deleted the filter-bucket-list-by-region branch July 9, 2024 20:02
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

Successfully merging this pull request may close these issues.

Filter bucket list by region

2 participants