Skip to content

Commit

Permalink
feat: remove skip_serialization for timeout_secs
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Oct 18, 2024
1 parent 85edb00 commit b214fdb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/codecs/src/decoding/framing/chunked_gelf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ impl ChunkedGelfDecoderConfig {
pub struct ChunkedGelfDecoderOptions {
/// The timeout, in seconds, for a message to be fully received. If the timeout is reached, the
/// decoder drops all the received chunks of the incomplete message and starts over.
#[serde(
default = "default_timeout_secs",
skip_serializing_if = "vector_core::serde::is_default"
)]
#[serde(default = "default_timeout_secs")]
#[derivative(Default(value = "default_timeout_secs()"))]
pub timeout_secs: f64,

Expand Down

0 comments on commit b214fdb

Please sign in to comment.