Skip to content

Commit 65b985a

Browse files
committed
log: number of queried peers
1 parent b7cb9ae commit 65b985a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/nebula/cmd_crawl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ func CrawlAction(c *cli.Context) error {
213213
if err != nil {
214214
log.WithError(err).Warnln("Failed querying bootstrap peers")
215215
}
216+
log.WithField("limit", 10).Infof("Queried %d bootstrap peers\n", len(bpAddrInfos))
216217

217218
// Inserting a crawl row into the db so that we
218219
// can associate results with this crawl via

0 commit comments

Comments
 (0)