Skip to content

Commit

Permalink
fix(p2p): do make announce blocking (reverts)
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler authored Aug 20, 2024
1 parent 6c3c500 commit e4cfa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (d *DHT) Run(c log.StandardLogger, ctx context.Context, host host.Host) err
for {
select {
case <-t.C:
go connect()
connect()
case <-ctx.Done():
return
}
Expand Down

0 comments on commit e4cfa69

Please sign in to comment.