upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/nostr/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/nostr/builder.rs')
-rw-r--r--src/nostr/builder.rs34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/nostr/builder.rs b/src/nostr/builder.rs
index 10f7648..9819e37 100644
--- a/src/nostr/builder.rs
+++ b/src/nostr/builder.rs
@@ -567,26 +567,24 @@ pub async fn create_relay(
567 // Clone Arc for the write policy so both relay and policy can access the database 567 // Clone Arc for the write policy so both relay and policy can access the database
568 let git_data_path = config.effective_git_data_path(); 568 let git_data_path = config.effective_git_data_path();
569 569
570 // Parse and log archive configuration 570 // Log archive configuration (config.validate() must be called at startup)
571 if let Ok(archive_config) = config.archive_config() { 571 let archive_config = config.archive_config();
572 if archive_config.enabled() { 572 if archive_config.enabled() {
573 tracing::info!( 573 tracing::info!(
574 "GRASP-05 archive mode enabled: archive_all={}, whitelist_entries={}, read_only={}", 574 "GRASP-05 archive mode enabled: archive_all={}, whitelist_entries={}, read_only={}",
575 archive_config.archive_all, 575 archive_config.archive_all,
576 archive_config.whitelist.len(), 576 archive_config.whitelist.len(),
577 archive_config.read_only 577 archive_config.read_only
578 ); 578 );
579 }
580 } 579 }
581 580
582 // Parse and log repository configuration 581 // Log repository configuration
583 if let Ok(repository_config) = config.repository_config() { 582 let repository_config = config.repository_config();
584 if repository_config.enabled() { 583 if repository_config.enabled() {
585 tracing::info!( 584 tracing::info!(
586 "Repository whitelist enabled: whitelist_entries={}", 585 "Repository whitelist enabled: whitelist_entries={}",
587 repository_config.whitelist.len() 586 repository_config.whitelist.len()
588 ); 587 );
589 }
590 } 588 }
591 589
592 // Create write policy with purgatory integration 590 // Create write policy with purgatory integration