increase to 180 (#1354)

This commit is contained in:
Almog De Paz 2021-03-17 23:19:39 +02:00 committed by Gene Hoffman
parent 318019581a
commit c42c5312d7

View File

@ -596,7 +596,7 @@ class FullNode:
raise ValueError("Not performing sync, already caught up.") raise ValueError("Not performing sync, already caught up.")
request = full_node_protocol.RequestProofOfWeight(heaviest_peak_height, heaviest_peak_hash) request = full_node_protocol.RequestProofOfWeight(heaviest_peak_height, heaviest_peak_hash)
response = await weight_proof_peer.request_proof_of_weight(request, timeout=90) response = await weight_proof_peer.request_proof_of_weight(request, timeout=180)
# Disconnect from this peer, because they have not behaved properly # Disconnect from this peer, because they have not behaved properly
if response is None or not isinstance(response, full_node_protocol.RespondProofOfWeight): if response is None or not isinstance(response, full_node_protocol.RespondProofOfWeight):