File tree Expand file tree Collapse file tree
bin/onlyswaps-verifier/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ use agent_utils::monitoring::init_monitoring;
1313use alloy:: signers:: local:: PrivateKeySigner ;
1414use config:: file:: load_mapped_config_file;
1515use std:: sync:: Arc ;
16- use std:: time:: Duration ;
1716use tokio_stream:: StreamExt ;
1817
1918pub async fn start_verifier ( args : StartArgs ) -> anyhow:: Result < ( ) > {
@@ -58,8 +57,7 @@ async fn run_onlyswaps(app_config: &AppConfig) -> anyhow::Result<()> {
5857
5958 // the `retry_scheduler` manages receives `Verification`s that have failed and schedules them at a later time
6059 // with respect to the retry duration
61- let retry_duration = Duration :: from_secs ( 12 ) ;
62- let retry_scheduler = RetryScheduler :: new ( retry_duration) ;
60+ let retry_scheduler = RetryScheduler :: new ( app_config. timeout . retry_duration ) ;
6361 let retry_scheduler_tx = retry_scheduler. tx ( ) ;
6462
6563 // the `verification_bus` combines recent historical events, live events, and retried events
You can’t perform that action at this time.
0 commit comments