diff --git a/core/node/da_dispatcher/src/da_dispatcher.rs b/core/node/da_dispatcher/src/da_dispatcher.rs index 3279313548e1..38f002063630 100644 --- a/core/node/da_dispatcher/src/da_dispatcher.rs +++ b/core/node/da_dispatcher/src/da_dispatcher.rs @@ -195,7 +195,7 @@ impl DataAvailabilityDispatcher { } // Sleep so we prevent hammering the database - tokio::time::sleep(Duration::from_secs( + tokio::time::sleep(Duration::from_millis( self.config .polling_interval_ms .unwrap_or(DEFAULT_POLLING_INTERVAL_MS) as u64, @@ -298,7 +298,7 @@ impl DataAvailabilityDispatcher { } // Sleep so we prevent hammering the database - tokio::time::sleep(Duration::from_secs( + tokio::time::sleep(Duration::from_millis( self.config .polling_interval_ms .unwrap_or(DEFAULT_POLLING_INTERVAL_MS) as u64,