Skip to content

Commit 4c3786e

Browse files
authored
Update main.rs
1 parent 23a7465 commit 4c3786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/logs-batch/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use opentelemetry_semantic_conventions::resource::SERVICE_NAME;
99
fn main() {
1010
// Setup LoggerProvider with a stdout exporter
1111
let exporter = opentelemetry_stdout::LogExporter::default();
12-
let runtime = CustomThreadRuntime::new(2, 5); // 1 worker thread
12+
let runtime = CustomThreadRuntime::new(2, 5); // 2 worker thread with queue size of 5
1313
let logger_provider = LoggerProvider::builder()
1414
.with_resource(Resource::new([KeyValue::new(
1515
SERVICE_NAME,

0 commit comments

Comments
 (0)