Skip to content

Commit

Permalink
Increase read timeout of sidecar for synchronous flushes
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Oct 22, 2024
1 parent dc68545 commit 3012492
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components-rs/sidecar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub extern "C" fn ddog_sidecar_connect_php(
let mut stream = Box::new(try_c!(run_sidecar(cfg)));
// Generally the Send buffer ought to be big enough for instantaneous transmission
_ = stream.set_write_timeout(Some(Duration::from_millis(100)));
_ = stream.set_read_timeout(Some(Duration::from_secs(1)));
_ = stream.set_read_timeout(Some(Duration::from_secs(10)));
*connection = Box::into_raw(stream);

MaybeError::None
Expand Down
2 changes: 1 addition & 1 deletion libdatadog
Submodule libdatadog updated 40 files
+0 −2 Cargo.lock
+1 −2 bin_tests/Cargo.toml
+1 −1 builder/build/arch/apple.rs
+1 −1 crashtracker-ffi/Cargo.toml
+1 −1 crashtracker/Cargo.toml
+13 −3 crashtracker/src/crash_info/stacktrace.rs
+1 −1 data-pipeline/Cargo.toml
+2 −1 data-pipeline/src/agent_info/fetcher.rs
+6 −5 data-pipeline/src/trace_exporter.rs
+1 −1 ddcommon-ffi/Cargo.toml
+2 −0 ddcommon/Cargo.toml
+1 −1 ddtelemetry/Cargo.toml
+3 −2 ddtelemetry/src/worker/http_client.rs
+0 −1 dogstatsd-client/Cargo.toml
+1 −2 ipc/src/platform/unix/mem_handle_macos.rs
+1 −1 live-debugger/Cargo.toml
+2 −2 live-debugger/src/sender.rs
+2 −2 profiling-ffi/Cargo.toml
+4 −1 profiling-ffi/src/exporter.rs
+1 −1 profiling/Cargo.toml
+28 −31 profiling/src/exporter/mod.rs
+4 −1 profiling/tests/form.rs
+2 −2 remote-config/Cargo.toml
+2 −1 remote-config/src/fetch/fetcher.rs
+2 −1 remote-config/src/fetch/test_server.rs
+1 −1 sidecar-ffi/Cargo.toml
+1 −1 sidecar/Cargo.toml
+1 −1 sidecar/src/service/sidecar_server.rs
+4 −3 sidecar/src/service/tracing/trace_flusher.rs
+10 −0 spawn_worker/src/trampoline.c
+1 −1 trace-mini-agent/Cargo.toml
+2 −1 trace-mini-agent/src/env_verifier.rs
+2 −1 trace-mini-agent/src/http_utils.rs
+9 −4 trace-obfuscation/benches/benchmarks/credit_cards_bench.rs
+15 −5 trace-obfuscation/src/credit_cards.rs
+1 −1 trace-utils/Cargo.toml
+4 −3 trace-utils/src/send_data/send_data_result.rs
+3 −2 trace-utils/src/stats_utils.rs
+7 −2 trace-utils/src/test_utils/datadog_test_agent.rs
+3 −2 trace-utils/src/trace_utils.rs

0 comments on commit 3012492

Please sign in to comment.