-
Notifications
You must be signed in to change notification settings - Fork 4
feat: update retry mechanism #358
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
base: main
Are you sure you want to change the base?
Conversation
async fn get_n_l1_messages( | ||
&self, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning a stream which captured the lifetime of the TX caused lifetime issues when trying to return the stream from the database call.
CodSpeed Performance ReportMerging #358 will improve performances by 34.88%Comparing Summary
Benchmarks breakdown
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Added some minor comments inline, primiarly about when we should use the raw methods and when to instantiate a transaction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@frisitano should we merge this with the old benchmark and fix in another PR? |
Yes lets revent back to the old bencmarks, get CI green and merge. We can look at codespeed in another PR as you suggest. |
@frisitano regression seems to have came from not having a |
Can you elaborate on this please? In main we don't have a Also looks like CI isn't passing edit: Is this because in the derivation pipeline using the new api we would create a new transaction for each block data hint we fetched? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. lgtm
closes: #319