diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 31c7b63..c6cf8c5 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -53,6 +53,7 @@ async fn main() -> Result<()> { | |||
| 53 | 53 | ||
| 54 | // Start SyncManager for proactive sync (Phase 2: multi-relay support, Phase 3: health tracking) | 54 | // Start SyncManager for proactive sync (Phase 2: multi-relay support, Phase 3: health tracking) |
| 55 | // Even without bootstrap relay, SyncManager discovers relays from stored announcements | 55 | // Even without bootstrap relay, SyncManager discovers relays from stored announcements |
| 56 | // TODO(Phase 3): Pass registry reference for sync metrics | ||
| 56 | let sync_manager = SyncManager::new( | 57 | let sync_manager = SyncManager::new( |
| 57 | config.sync_bootstrap_relay_url.clone(), | 58 | config.sync_bootstrap_relay_url.clone(), |
| 58 | config.domain.clone(), | 59 | config.domain.clone(), |
| @@ -60,6 +61,7 @@ async fn main() -> Result<()> { | |||
| 60 | relay_with_db.write_policy.clone(), | 61 | relay_with_db.write_policy.clone(), |
| 61 | relay_with_db.relay.clone(), | 62 | relay_with_db.relay.clone(), |
| 62 | &config, | 63 | &config, |
| 64 | None, // Registry will be passed in Phase 3 | ||
| 63 | ); | 65 | ); |
| 64 | 66 | ||
| 65 | if config.sync_bootstrap_relay_url.is_some() { | 67 | if config.sync_bootstrap_relay_url.is_some() { |