Skip to content

Commit 1566a58

Browse files
author
yxq
committed
fix: dht unit test
1 parent 2e176fb commit 1566a58

File tree

1 file changed

+1
-1
lines changed
  • system/p2p/dht/protocol/p2pstore

1 file changed

+1
-1
lines changed

system/p2p/dht/protocol/p2pstore/query.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ func (p *Protocol) getChunkRecordFromBlockchain(req *types.ReqChunkRecords) (*ty
577577
if err != nil {
578578
return nil, err
579579
}
580-
resp, err := p.QueueClient.Wait(msg)
580+
resp, err := p.QueueClient.WaitTimeout(msg, time.Second)
581581
if err != nil {
582582
return nil, err
583583
}

0 commit comments

Comments
 (0)