File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ use crate::client::SignerSlotID;
35
35
36
36
const EVENT_TIMEOUT_MS : u64 = 5000 ;
37
37
const BLOCK_PROPOSAL_TIMEOUT_MS : u64 = 45_000 ;
38
+ const DEFAULT_FIRST_PROPOSAL_BURN_BLOCK_TIMING_SECS : u64 = 60 ;
38
39
39
40
#[ derive( thiserror:: Error , Debug ) ]
40
41
/// An error occurred parsing the provided configuration
@@ -239,8 +240,11 @@ impl TryFrom<RawConfigFile> for GlobalConfig {
239
240
StacksAddress :: p2pkh_from_hash ( raw_data. network . is_mainnet ( ) , signer_hash) ;
240
241
let event_timeout =
241
242
Duration :: from_millis ( raw_data. event_timeout_ms . unwrap_or ( EVENT_TIMEOUT_MS ) ) ;
242
- let first_proposal_burn_block_timing =
243
- Duration :: from_secs ( raw_data. first_proposal_burn_block_timing_secs . unwrap_or ( 30 ) ) ;
243
+ let first_proposal_burn_block_timing = Duration :: from_secs (
244
+ raw_data
245
+ . first_proposal_burn_block_timing_secs
246
+ . unwrap_or ( DEFAULT_FIRST_PROPOSAL_BURN_BLOCK_TIMING_SECS ) ,
247
+ ) ;
244
248
let db_path = raw_data. db_path . into ( ) ;
245
249
246
250
let metrics_endpoint = match raw_data. metrics_endpoint {
You can’t perform that action at this time.
0 commit comments