@@ -500,7 +500,7 @@ where
500
500
/// - [`MonitorUpdatingPersister`] will potentially have more listing to do if you need to run
501
501
/// [`MonitorUpdatingPersister::cleanup_stale_updates`].
502
502
///
503
- /// This sets `min_monitor_size_for_updates_bytes` to 4096 bytes (4 KiB), which is a reasonable
503
+ /// This sets `min_monitor_size_for_updates_bytes` to 8192 bytes (4 KiB), which is a reasonable
504
504
/// default for most use cases. Monitors smaller than this will be persisted in full rather than
505
505
/// using update-based persistence. Use [`MonitorUpdatingPersister::new_with_monitor_size_threshold`]
506
506
/// if you need a custom threshold.
@@ -512,7 +512,7 @@ where
512
512
kv_store,
513
513
logger,
514
514
maximum_pending_updates,
515
- 4096 ,
515
+ 8192 ,
516
516
entropy_source,
517
517
signer_provider,
518
518
broadcaster,
@@ -1424,7 +1424,7 @@ mod tests {
1424
1424
let store_1 = TestStore :: new ( false ) ;
1425
1425
let logger_1 = TestLogger :: new ( ) ;
1426
1426
1427
- // Test the default new() constructor (uses 4096 byte threshold)
1427
+ // Test the default new() constructor (uses 8192 byte threshold)
1428
1428
let persister_0 = MonitorUpdatingPersister :: new (
1429
1429
& store_0,
1430
1430
& logger_0,
@@ -1447,7 +1447,7 @@ mod tests {
1447
1447
) ;
1448
1448
1449
1449
// Verify the constructors set the thresholds correctly
1450
- assert_eq ! ( persister_0. min_monitor_size_for_updates_bytes, 4096 ) ;
1450
+ assert_eq ! ( persister_0. min_monitor_size_for_updates_bytes, 8192 ) ;
1451
1451
assert_eq ! ( persister_1. min_monitor_size_for_updates_bytes, 0 ) ;
1452
1452
let mut node_cfgs = create_node_cfgs ( 2 , & chanmon_cfgs) ;
1453
1453
let chain_mon_0 = test_utils:: TestChainMonitor :: new (
0 commit comments