Skip to content

Commit

Permalink
fix(dht): do not make announce stopping
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 0760178 commit 6c3c500
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:
connect()
go connect()
case <-ctx.Done():
return
}
Expand Down

0 comments on commit 6c3c500

Please sign in to comment.