Skip to content

Commit d110d88

Browse files
committed
fix: add missing humantime attribute to config
1 parent 2fb3775 commit d110d88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/agent/services/exporter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub struct Config {
4646
/// Wait at least this long before publishing an unchanged price
4747
/// state; unchanged price state means only timestamp has changed
4848
/// with other state identical to last published state.
49+
#[serde(with = "humantime_serde")]
4950
pub unchanged_publish_threshold: Duration,
5051
/// Maximum size of a batch
5152
pub max_batch_size: usize,

0 commit comments

Comments
 (0)