Skip to content

Commit

Permalink
Update the bigledger state not publicRoot state
Browse files Browse the repository at this point in the history
Update the bigledger peers state in case of an exception. Previously the
publicRoot state was updated instead. This ment that in case of an error
the node would never attempt to increase the number of big ledger peers
again.
  • Loading branch information
karknu authored and coot committed May 6, 2024
1 parent dac986d commit afc999c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ jobReqBigLedgerPeers PeerSelectionActions{ requestPublicRootPeers }
bigLedgerPeerBackoffs'
bigLedgerPeerRetryDiffTime'],
decisionState = st {
inProgressPublicRootsReq = False,
publicRootBackoffs = bigLedgerPeerBackoffs',
publicRootRetryTime = bigLedgerPeerRetryTime'
inProgressBigLedgerPeersReq = False,
bigLedgerPeerBackoffs = bigLedgerPeerBackoffs',
bigLedgerPeerRetryTime = bigLedgerPeerRetryTime'
},
decisionJobs = []
}
Expand Down

0 comments on commit afc999c

Please sign in to comment.