Skip to content

Commit

Permalink
fix ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
g4titanx committed Jan 22, 2025
1 parent cd015ad commit 1264543
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions crates/torii/indexer/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use torii_sqlite::cache::ModelCache;
use torii_sqlite::executor::Executor;
use torii_sqlite::types::{Contract, ContractType};
use torii_sqlite::Sql;
use tracing::info;
use tracing::{info, error};

use crate::engine::{Engine, EngineConfig, Processors};

Expand Down Expand Up @@ -673,8 +673,10 @@ async fn test_engine_backoff_and_recovery(sequencer: &RunnerCtx) {
.unwrap();

// Create and configure engine
let mut config = EngineConfig::default();
config.polling_interval = Duration::from_millis(100);
let config = EngineConfig {
polling_interval: Duration::from_millis(100),
..Default::default()
};

let world_reader = WorldContractReader::new(world_address, Arc::clone(&provider));

Expand All @@ -692,7 +694,7 @@ async fn test_engine_backoff_and_recovery(sequencer: &RunnerCtx) {
// Start engine in background
let engine_handle = tokio::spawn(async move {
if let Err(e) = engine.start().await {
eprintln!("Engine error: {:?}", e);
error!("Engine error: {:?}", e);
}
});

Expand Down

0 comments on commit 1264543

Please # to comment.