Skip to content

Commit

Permalink
fix: dht unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yxq committed Jul 19, 2021
1 parent 2e176fb commit 1566a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/p2p/dht/protocol/p2pstore/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ func (p *Protocol) getChunkRecordFromBlockchain(req *types.ReqChunkRecords) (*ty
if err != nil {
return nil, err
}
resp, err := p.QueueClient.Wait(msg)
resp, err := p.QueueClient.WaitTimeout(msg, time.Second)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1566a58

Please sign in to comment.