-
Notifications
You must be signed in to change notification settings - Fork 237
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
send-transactions: optimize retry pool #31
send-transactions: optimize retry pool #31
Conversation
Looks like this one needs a rebase to fixup some whitespace lint. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #31 +/- ##
=========================================
- Coverage 81.9% 81.9% -0.1%
=========================================
Files 836 836
Lines 226629 226634 +5
=========================================
+ Hits 185688 185690 +2
- Misses 40941 40944 +3 |
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
generally good changes, i don't understand some minor details (see questions in the comments) |
1e6a6fc
to
c7c05af
Compare
updated with fixes |
@@ -821,30 +872,11 @@ mod test { | |||
config.batch_size, | |||
&stats, | |||
); | |||
assert_eq!(transactions.len(), 1); |
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.
@fanatid why we don't need this code any longer?
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.
because we remove both transactions from hashmap in one process_transactions
call
@fanatid please update the branch |
Moved from solana-labs#35081
Problem
Transactions not included in the retry pool on full utilization
Summary of Changes
last_sent_time
inTransactionInfo