1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 19:32:24 +08:00

Merge pull request #986 from ipfs/feat/dht-bw-usage

reduce dht bandwidth consumption
This commit is contained in:
Jeromy Johnson
2015-03-31 18:15:18 -07:00
3 changed files with 12 additions and 7 deletions

View File

@ -226,5 +226,5 @@ func (dht *IpfsDHT) handleAddProvider(ctx context.Context, p peer.ID, pmes *pb.M
dht.providers.AddProvider(ctx, key, p)
}
return pmes, nil // send back same msg as confirmation.
return nil, nil
}