Skip to content

Commit

Permalink
raise fault frequency to 1/256
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 1, 2024
1 parent 0e51ea6 commit 523068b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/utils/heartbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func RecordHeartbeat(ctx context.Context, details ...interface{}) {
}

func MaybeDie() {
if rand.Uint32()&0xfff == 0 {
if rand.Uint32()&0xff == 0 {
panic("random failure")
}
}

0 comments on commit 523068b

Please sign in to comment.