Skip to content

Commit

Permalink
ref(rust): Skip procspawn::init() if pure rust (#4899)
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara committed Oct 19, 2023
1 parent a74ef44 commit 98cf6ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust_snuba/src/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ pub fn consumer_impl(
)));
}

procspawn::init();
if !use_rust_processor {
procspawn::init();
}

let first_storage = &consumer_config.storages[0];

Expand Down

0 comments on commit 98cf6ac

Please sign in to comment.