Skip to content

Commit

Permalink
Do not log shutdown_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Nov 4, 2023
1 parent 8b1f4ef commit 4c0c78e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/erooster_smtp/src/servers/encrypted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Encrypted {
/// # Errors
///
/// Returns an error if the cert setup fails
#[instrument(skip(config, database, storage))]
#[instrument(skip(config, database, storage, shutdown_flag))]
pub(crate) async fn run(
config: Config,
database: &DB,
Expand Down Expand Up @@ -136,7 +136,7 @@ impl Encrypted {
}
}

#[instrument(skip(stream, config, database, storage, acceptor))]
#[instrument(skip(stream, config, database, storage, acceptor, shutdown_flag))]
async fn listen(
mut stream: TcpListenerStream,
config: &Config,
Expand Down
2 changes: 1 addition & 1 deletion crates/erooster_smtp/src/servers/unencrypted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl Unencrypted {
// TODO: make this only pub for benches and tests
#[allow(missing_docs)]
#[allow(clippy::missing_errors_doc)]
#[instrument(skip(config, database, storage))]
#[instrument(skip(config, database, storage, shutdown_flag))]
pub async fn run(
config: Config,
database: &DB,
Expand Down

0 comments on commit 4c0c78e

Please sign in to comment.