Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
  • Loading branch information
iambriccardo and jjbayer authored Sep 13, 2024
1 parent fca77dc commit c5e1064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay-server/src/services/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl EnvelopeBufferService {
relay_log::trace!("EnvelopeBufferService: shutting down gracefully");

let shutdown_result =
timeout(shutdown_timeout, async { buffer.shutdown().await }).await;
timeout(shutdown_timeout, buffer.shutdown()).await;
match shutdown_result {
Ok(shutdown_result) => {
return shutdown_result;
Expand Down

0 comments on commit c5e1064

Please sign in to comment.