Skip to content

Commit 47b31fe

Browse files
authored
feat(daemon): accelerated client startup note (ipfs#10859)
this ensures user is not expecting improved performance from the start and also they know when they run accelerated client, which is pretty expensive
1 parent 458ad45 commit 47b31fe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cmd/ipfs/kubo/daemon.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,17 @@ take effect.
646646
⚠️ Local CIDs will not be announced to Amino DHT, making them impossible to retrieve without manual peering
647647
⚠️ If this is not intentional, call 'ipfs config profile apply announce-on', or set 'Reprovider.Interval=22h'
648648
649+
`)
650+
}
651+
652+
// Inform user about Routing.AcceleratedDHTClient when enabled
653+
if cfg.Routing.AcceleratedDHTClient.WithDefault(config.DefaultAcceleratedDHTClient) {
654+
fmt.Print(`
655+
656+
ℹ️ Routing.AcceleratedDHTClient is enabled for faster content discovery
657+
ℹ️ and DHT provides. Routing table is initializing. IPFS is ready to use,
658+
ℹ️ but performance will improve over time as more peers are discovered
659+
649660
`)
650661
}
651662

0 commit comments

Comments
 (0)