Skip to content

Commit

Permalink
chore: comment metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
crisdut committed Dec 17, 2023
1 parent 60c67f0 commit 97c8423
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bin/bitmaskd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ async fn co_store(
},
}

metrics::update(&filepath).await?;
// metrics::update(&filepath).await?;

Ok((StatusCode::OK, TypedHeader(cc), "Success"))
}
Expand Down
4 changes: 2 additions & 2 deletions src/carbonado.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mod server {
let (body, _encode_info) = carbonado::file::encode(&sk, Some(&pk), input, level, meta)?;
let filepath = handle_file(&pk_hex, name, body.len()).await?;
fs::write(&filepath, body).await?;
metrics::update(&filepath).await?;
// metrics::update(&filepath).await?;
Ok(())
}

Expand Down Expand Up @@ -81,7 +81,7 @@ mod server {
let (body, _encode_info) = carbonado::file::encode(&sk, Some(&pk), input, level, meta)?;
let filepath = handle_file(&pk_hex, name, body.len()).await?;
fs::write(&filepath, body.clone()).await?;
metrics::update(&filepath).await?;
// metrics::update(&filepath).await?;
Ok((filepath, body))
}

Expand Down

0 comments on commit 97c8423

Please sign in to comment.