diff --git a/src/query/service/src/locks/lock_holder.rs b/src/query/service/src/locks/lock_holder.rs index 691cbd525449d..475f936b0d9cd 100644 --- a/src/query/service/src/locks/lock_holder.rs +++ b/src/query/service/src/locks/lock_holder.rs @@ -21,6 +21,7 @@ use std::time::Instant; use backoff::backoff::Backoff; use databend_common_base::base::tokio::sync::Notify; use databend_common_base::base::tokio::time::sleep; +use databend_common_base::base::tokio::time::timeout; use databend_common_base::runtime::GlobalIORuntime; use databend_common_base::runtime::TrySpawn; use databend_common_catalog::catalog::Catalog; @@ -44,7 +45,6 @@ use futures::future::Either; use futures_util::StreamExt; use rand::thread_rng; use rand::Rng; -use tokio::time::timeout; use crate::sessions::SessionManager;