diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sync/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sync/mod.rs b/src/sync/mod.rs index e17565b..4de5619 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs | |||
| @@ -194,7 +194,7 @@ const CONSOLIDATION_THRESHOLD: usize = 70; | |||
| 194 | const CONSOLIDATION_WAIT_TIMEOUT_SECS: u64 = 30; | 194 | const CONSOLIDATION_WAIT_TIMEOUT_SECS: u64 = 30; |
| 195 | 195 | ||
| 196 | // ============================================================================= | 196 | // ============================================================================= |
| 197 | // Daily Timer (Phase 7) | 197 | // Daily Timer |
| 198 | // ============================================================================= | 198 | // ============================================================================= |
| 199 | 199 | ||
| 200 | /// Run the daily timer for periodic fresh syncs | 200 | /// Run the daily timer for periodic fresh syncs |
| @@ -258,7 +258,7 @@ async fn run_daily_timer( | |||
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | // ============================================================================= | 260 | // ============================================================================= |
| 261 | // Disconnect Checker (Phase 8) | 261 | // Disconnect Checker |
| 262 | // ============================================================================= | 262 | // ============================================================================= |
| 263 | 263 | ||
| 264 | /// Run the disconnect checker for periodic cleanup of empty relays | 264 | /// Run the disconnect checker for periodic cleanup of empty relays |
| @@ -304,7 +304,6 @@ async fn run_disconnect_checker( | |||
| 304 | /// The SyncManager runs as a background task, subscribing to repository | 304 | /// The SyncManager runs as a background task, subscribing to repository |
| 305 | /// announcements on the local relay and syncing data from external relays | 305 | /// announcements on the local relay and syncing data from external relays |
| 306 | /// listed in those announcements. | 306 | /// listed in those announcements. |
| 307 | #[allow(dead_code)] // Fields will be used in later phases | ||
| 308 | pub struct SyncManager { | 307 | pub struct SyncManager { |
| 309 | /// Bootstrap relay URL for initial sync (optional) | 308 | /// Bootstrap relay URL for initial sync (optional) |
| 310 | bootstrap_relay_url: Option<String>, | 309 | bootstrap_relay_url: Option<String>, |
| @@ -1446,7 +1445,7 @@ impl SyncManager { | |||
| 1446 | } | 1445 | } |
| 1447 | 1446 | ||
| 1448 | // ========================================================================= | 1447 | // ========================================================================= |
| 1449 | // Consolidation System (Phase 6) | 1448 | // Consolidation System |
| 1450 | // ========================================================================= | 1449 | // ========================================================================= |
| 1451 | 1450 | ||
| 1452 | /// Get the current filter count for a relay | 1451 | /// Get the current filter count for a relay |