-
Notifications
You must be signed in to change notification settings - Fork 63
refactor: fix rate limiter #1636
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
assert!( | ||
total_processed_items >= minimum_processed_items, | ||
"Processed fewer items ({}) than required ({})", | ||
total_processed_items, | ||
minimum_processed_items | ||
); |
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.
do we have this assert in a different place now?
(I just see an assert > 0.)
let payer = payer.insecure_clone(); | ||
let signers = &[&payer]; |
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.
let payer = payer.insecure_clone(); | |
let signers = &[&payer]; | |
let signers = &[&payer]; |
@@ -262,14 +262,14 @@ pub async fn send_batched_transactions<T: TransactionBuilder, R: RpcConnection>( | |||
|
|||
let cancel_signal_clone = cancel_signal.clone(); | |||
let deadline = timeout_deadline; | |||
|
|||
let payer_clone = payer.insecure_clone(); |
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.
is this necessary since we are just passing a reference?
No description provided.