File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2389,6 +2389,7 @@ pub struct ConnectionOptionsFile {
2389
2389
pub antientropy_public : Option < bool > ,
2390
2390
pub private_neighbors : Option < bool > ,
2391
2391
pub block_proposal_token : Option < String > ,
2392
+ pub antientropy_retry : Option < u64 > ,
2392
2393
}
2393
2394
2394
2395
impl ConnectionOptionsFile {
@@ -2420,6 +2421,7 @@ impl ConnectionOptionsFile {
2420
2421
self . read_only_call_limit_runtime . map ( |x| {
2421
2422
read_only_call_limit. runtime = x;
2422
2423
} ) ;
2424
+ let default = ConnectionOptions :: default ( ) ;
2423
2425
Ok ( ConnectionOptions {
2424
2426
read_only_call_limit,
2425
2427
inbox_maxlen : self
@@ -2513,7 +2515,8 @@ impl ConnectionOptionsFile {
2513
2515
antientropy_public : self . antientropy_public . unwrap_or ( true ) ,
2514
2516
private_neighbors : self . private_neighbors . unwrap_or ( true ) ,
2515
2517
block_proposal_token : self . block_proposal_token ,
2516
- ..ConnectionOptions :: default ( )
2518
+ antientropy_retry : self . antientropy_retry . unwrap_or ( default. antientropy_retry ) ,
2519
+ ..default
2517
2520
} )
2518
2521
}
2519
2522
}
You can’t perform that action at this time.
0 commit comments