Skip to content

Commit 6c3c500

Browse files
authored
fix(dht): do not make announce stopping
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 0760178 commit 6c3c500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/discovery/dht.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (d *DHT) Run(c log.StandardLogger, ctx context.Context, host host.Host) err
123123
for {
124124
select {
125125
case <-t.C:
126-
connect()
126+
go connect()
127127
case <-ctx.Done():
128128
return
129129
}

0 commit comments

Comments
 (0)