Skip to content

Commit

Permalink
Increase the delay time for TxPoolservice and remove redundant word i…
Browse files Browse the repository at this point in the history
…n comment (#4367)

Signed-off-by: forcedebug <forcedebug@outlook.com>
Co-authored-by: nk_ysg <nk_ysg@163.com>
  • Loading branch information
forcedebug and nkysg authored Jan 9, 2025
1 parent 34ed48c commit 8d448e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static VEC_PREFIX_NAME_V4: Lazy<Vec<ColumnFamilyName>> = Lazy::new(|| {
]
});

// this is is for proxima. DAG_SYNC_BLOCK_PREFIX_NAME added.
// this is for proxima. DAG_SYNC_BLOCK_PREFIX_NAME added.
// DAG_SYNC_BLOCK_PREFIX_NAME should be in v4 when upgrading to the master version
static VEC_PREFIX_NAME_V5: Lazy<Vec<ColumnFamilyName>> = Lazy::new(|| {
vec![
Expand Down
2 changes: 1 addition & 1 deletion test-helper/src/txpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub async fn start_txpool_with_miner(
}
//registry.register::<MinerService>().await.unwrap();
let pool_actor = registry.register::<TxPoolActorService>().await.unwrap();
Delay::new(Duration::from_millis(200)).await;
Delay::new(Duration::from_secs(1)).await;
let txpool_service = registry.get_shared::<TxPoolService>().await.unwrap();

(
Expand Down

0 comments on commit 8d448e3

Please sign in to comment.