Skip to content

yolo: use moka future instead of sync to try and fix #181#185

Merged
CluEleSsUK merged 2 commits into
mainfrom
yolo/try-moka-futures
Oct 23, 2025
Merged

yolo: use moka future instead of sync to try and fix #181#185
CluEleSsUK merged 2 commits into
mainfrom
yolo/try-moka-futures

Conversation

@CluEleSsUK
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@azixus azixus left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines +64 to +68
match timeout(
Duration::from_secs(10),
execute_trade(&trade, router, token, self.own_address),
)
.await
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good idea to add the timeout at this level directly, don't have to individually instrument transactions.

@CluEleSsUK CluEleSsUK merged commit 33baf92 into main Oct 23, 2025
10 checks passed
@CluEleSsUK CluEleSsUK deleted the yolo/try-moka-futures branch October 23, 2025 09:07
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.

2 participants