Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
fix!: The gateway should not call initialize_tracing (#767)
Browse files Browse the repository at this point in the history
Initializing tracing is the responsibility of a surrounding binary, not library code.
  • Loading branch information
justinabrahms authored Jan 8, 2024
1 parent 5a84d7a commit d388dec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rust/noosphere-gateway/src/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use crate::{
NameSystemConnectionType,
},
};
use noosphere_core::tracing::initialize_tracing;

const DEFAULT_BODY_LENGTH_LIMIT: usize = 100 /* MB */ * 1000 * 1000;

Expand All @@ -48,8 +47,6 @@ impl Gateway {
C: HasMutableSphereContext<S> + 'static,
S: Storage + 'static,
{
initialize_tracing(None);

let mut cors = CorsLayer::new();

if let Some(cors_origin) = cors_origin {
Expand Down

0 comments on commit d388dec

Please sign in to comment.