Skip to content

Commit 06a78a1

Browse files
committed
fix: missing default value for preloading refresh interval in signer
1 parent 0007402 commit 06a78a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mithril-signer/src/main.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@ async fn main() -> StdResult<()> {
152152
.with_context(|| "configuration error: could not set `enable_metrics_server`")?
153153
.set_default("allow_unparsable_block", args.allow_unparsable_block)
154154
.with_context(|| "configuration error: could not set `allow_unparsable_block`")?
155+
.set_default(
156+
"preloading_refresh_interval_in_seconds",
157+
args.preloading_refresh_interval_in_seconds,
158+
)
159+
.with_context(|| {
160+
"configuration error: could not set `preloading_refresh_interval_in_seconds`"
161+
})?
155162
.add_source(DefaultConfiguration::default())
156163
.add_source(
157164
config::File::with_name(&format!(

0 commit comments

Comments
 (0)