We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4677f commit 7e08186Copy full SHA for 7e08186
crates/service/src/main.rs
@@ -11,7 +11,7 @@ use tracing_subscriber::{EnvFilter, FmtSubscriber};
11
async fn main() -> ExitCode {
12
init_tracing();
13
14
- #[cfg(feature = "profiling")]
+ #[cfg(all(feature = "profiling", not(test)))]
15
if let Err(e) = profiler::setup_profiling(
16
"/opt/profiling/indexer-service".to_string(),
17
150,
crates/tap-agent/src/main.rs
@@ -7,7 +7,7 @@ use tokio::signal::unix::{signal, SignalKind};
7
8
#[tokio::main]
9
async fn main() -> anyhow::Result<()> {
10
"/opt/profiling/tap-agent".to_string(),
0 commit comments