Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketen committed Dec 5, 2024
1 parent 3994043 commit 302e5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/application/services/validatorEjector.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (ve *ValidatorEjector) EjectValidator() error {
validatorStatus, err := ve.beaconchainPort.GetValidatorStatus(exitRequest.ValidatorPubkeyHex)
if err != nil {
logger.ErrorWithPrefix(ve.servicePrefix, "Error getting validator status", err)
time.Sleep(30 * time.Second)
time.Sleep(10 * time.Second) // Wait a bit before retrying to avoid spamming the beaconchain and give it time to resync/recover.
continue
}

Expand Down

0 comments on commit 302e5d4

Please sign in to comment.