Skip to content

Commit

Permalink
async lints off
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Apr 22, 2024
1 parent 8f707b9 commit c682b18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions svc/controller-trap/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ async fn main(mut initial: Initial) -> EResult<()> {
}
}
let rpc_c = rpc.clone();
#[allow(clippy::large_futures)]
tokio::spawn(async move {
loop {
match config.protocol {
Expand Down
1 change: 1 addition & 0 deletions tools/eva-cloud-manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ lazy_static::lazy_static! {
};
}

#[allow(clippy::large_futures)]
#[tokio::main(worker_threads = 2)]
async fn main() {
macro_rules! handle_signal {
Expand Down
2 changes: 2 additions & 0 deletions tools/eva-cloud-manager/src/mirror.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ async fn download(
res
}

#[allow(clippy::large_futures)]
async fn verify_local(path: &Path, manifest: &Manifest) -> EResult<()> {
ttycarousel::tokio1::spawn0(&format!(
"Verifying the local file {}",
Expand All @@ -73,6 +74,7 @@ async fn verify_local(path: &Path, manifest: &Manifest) -> EResult<()> {
res
}

#[allow(clippy::large_futures)]
pub async fn update(opts: Options) -> EResult<()> {
let mut repository_url = opts
.repository_url
Expand Down

0 comments on commit c682b18

Please sign in to comment.