Skip to content

Commit c002610

Browse files
use default
1 parent 99e8481 commit c002610

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

profiling/src/profiling/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ pub struct JoinError {
15631563
#[cfg(test)]
15641564
mod tests {
15651565
use super::*;
1566-
use crate::config::AgentEndpoint;
1566+
use crate::{allocation::DEFAULT_ALLOCATION_SAMPLING_INTERVAL, config::AgentEndpoint};
15671567
use datadog_profiling::exporter::Uri;
15681568
use log::LevelFilter;
15691569

@@ -1582,7 +1582,7 @@ mod tests {
15821582
profiling_endpoint_collection_enabled: false,
15831583
profiling_experimental_cpu_time_enabled: false,
15841584
profiling_allocation_enabled: false,
1585-
profiling_allocation_sampling_distance: 4194304,
1585+
profiling_allocation_sampling_distance: DEFAULT_ALLOCATION_SAMPLING_INTERVAL as u32,
15861586
profiling_timeline_enabled: false,
15871587
profiling_exception_enabled: false,
15881588
profiling_exception_message_enabled: false,

0 commit comments

Comments
 (0)