Skip to content

Commit 745d5fc

Browse files
committed
chore: change default unchanged_publish_threshold from 5s to 3s
1 parent d110d88 commit 745d5fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ key_store.mapping_key = "RelevantOracleMappingAddress"
8787
# Wait at least this long before publishing an unchanged price
8888
# state; unchanged price state means only timestamp has changed
8989
# with other state identical to last published state.
90-
# exporter.unchanged_publish_threshold = "5s"
90+
# exporter.unchanged_publish_threshold = "3s"
9191

9292
# Maximum size of a batch
9393
# exporter.max_batch_size = 12

src/agent/services/exporter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Default for Config {
8181
refresh_network_state_interval_duration: Duration::from_millis(200),
8282
publish_interval_duration: Duration::from_secs(1),
8383
staleness_threshold: Duration::from_secs(5),
84-
unchanged_publish_threshold: Duration::from_secs(5),
84+
unchanged_publish_threshold: Duration::from_secs(3),
8585
max_batch_size: 12,
8686
inflight_transactions_channel_capacity: 10000,
8787
transaction_monitor: Default::default(),

0 commit comments

Comments
 (0)