1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

reduce dht bandwidth consumption

Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2015-03-30 07:53:14 -07:00
parent 11dc94b50c
commit a437240989
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
}