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

Commit

Permalink
The gateway should not call initialize_tracing
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 committed Jan 8, 2024
1 parent 5a84d7a commit 5aecfd6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rust/noosphere-gateway/src/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,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 5aecfd6

Please sign in to comment.