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

linera-views::dynamodb: box aws-sdk-dynamodb futures #1860

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

Twey
Copy link
Contributor

@Twey Twey commented Apr 1, 2024

Motivation

The futures returned by aws-sdk-dynamodb are large, and frequently lead to stack overflow in linera-views::dynamodb.

Proposal

Box them using futures::FutureExt::boxed to move them to the heap before awaiting them.

Test Plan

CI.

Release Plan

No user-visible changes.

Links

@Twey Twey requested a review from MathieuDutSik April 1, 2024 22:21
@Twey Twey force-pushed the 04-01-Box_DynamoDB_futures branch from 4952dc2 to 7662d87 Compare April 1, 2024 22:30
@Twey Twey changed the title linera-views: box aws_sdk_dynamodb futures linera-views::dynamodb: box aws-sdk-dynamodb futures Apr 1, 2024
@Twey Twey merged commit 2e1a289 into linera-io:main Apr 2, 2024
5 checks passed
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.

None yet

3 participants