Skip to content

Commit

Permalink
fix: add missing humantime attribute to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Riateche committed Sep 6, 2024
1 parent 2fb3775 commit d110d88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/agent/services/exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub struct Config {
/// Wait at least this long before publishing an unchanged price
/// state; unchanged price state means only timestamp has changed
/// with other state identical to last published state.
#[serde(with = "humantime_serde")]
pub unchanged_publish_threshold: Duration,
/// Maximum size of a batch
pub max_batch_size: usize,
Expand Down

0 comments on commit d110d88

Please sign in to comment.