mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
fix: typo
This commit is contained in:
parent
c1fabb2181
commit
d15d208ad3
@ -1664,7 +1664,7 @@ pub async fn tps_test() {
|
|||||||
for (i, tx_hash) in tx_hashes.iter().enumerate() {
|
for (i, tx_hash) in tx_hashes.iter().enumerate() {
|
||||||
loop {
|
loop {
|
||||||
if now.elapsed().as_millis() > target_time.as_millis() {
|
if now.elapsed().as_millis() > target_time.as_millis() {
|
||||||
panic!("TPS test failed by timout");
|
panic!("TPS test failed by timeout");
|
||||||
}
|
}
|
||||||
|
|
||||||
let tx_obj = seq_client
|
let tx_obj = seq_client
|
||||||
|
|||||||
@ -11,6 +11,7 @@ use crate::config::WalletConfig;
|
|||||||
pub struct TxPoller {
|
pub struct TxPoller {
|
||||||
pub polling_max_blocks_to_query: usize,
|
pub polling_max_blocks_to_query: usize,
|
||||||
pub polling_max_error_attempts: u64,
|
pub polling_max_error_attempts: u64,
|
||||||
|
// TODO: This should be Duration
|
||||||
pub polling_error_delay_millis: u64,
|
pub polling_error_delay_millis: u64,
|
||||||
pub polling_delay_millis: u64,
|
pub polling_delay_millis: u64,
|
||||||
pub client: Arc<SequencerClient>,
|
pub client: Arc<SequencerClient>,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user