Skip to content

Commit

Permalink
Merge pull request #6 from vincenzopalazzo/macros/increase-timeout
Browse files Browse the repository at this point in the history
core: the timeout should be bigger not lower
  • Loading branch information
vincenzopalazzo authored Oct 31, 2024
2 parents d87f4ec + cce8114 commit 6dfb616
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "opentelemetry-log"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = ["Vincent <[email protected]>"]
description = "A common library for OpenTelemetry logging in Rust."
license = "GPL-2.0"
repository = "https://github.com/vincent/opentelemetry-log"
repository = "https://github.com/vincenzopalazzo/opentelemetry-log"
documentation = "https://docs.rs/opentelemetry-common"
homepage = "https://github.com/vincent/opentelemetry-log"
homepage = "https://github.com/vincenzopalazzo/opentelemetry-log"
keywords = ["opentelemetry", "logging", "log", "rust"]
categories = ["development-tools"]

Expand Down
2 changes: 1 addition & 1 deletion src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn init(
) -> anyhow::Result<()> {
// FIXME: make this configurable from the API level
let batch_config = BatchConfigBuilder::default()
.with_max_export_timeout(Duration::from_secs(1))
.with_max_export_timeout(Duration::from_secs(20))
.with_max_queue_size(10_000)
.with_max_export_batch_size(100_000);
let batch_config = batch_config.build();
Expand Down

0 comments on commit 6dfb616

Please sign in to comment.