Skip to content

Commit 3450b50

Browse files
modify the BatchConfig to stick with defaults
1 parent 9e18e04 commit 3450b50

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

opentelemetry-sdk/src/trace/span_processor.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,6 @@ mod tests {
12401240
let config = BatchConfigBuilder::default()
12411241
.with_max_queue_size(5)
12421242
.with_max_export_batch_size(3)
1243-
.with_scheduled_delay(Duration::from_millis(50))
12441243
.build();
12451244

12461245
let processor = BatchSpanProcessor::new(exporter, config);
@@ -1264,7 +1263,6 @@ mod tests {
12641263
let config = BatchConfigBuilder::default()
12651264
.with_max_queue_size(5)
12661265
.with_max_export_batch_size(3)
1267-
.with_scheduled_delay(Duration::from_millis(50))
12681266
.build();
12691267

12701268
let processor = BatchSpanProcessor::new(exporter, config);
@@ -1288,7 +1286,6 @@ mod tests {
12881286
let config = BatchConfigBuilder::default()
12891287
.with_max_queue_size(20)
12901288
.with_max_export_batch_size(5)
1291-
.with_scheduled_delay(Duration::from_millis(50))
12921289
.build();
12931290

12941291
// Create the processor with the thread-safe exporter

0 commit comments

Comments
 (0)