Skip to content

Commit

Permalink
feat: set replica set setup Job backoffLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea committed Aug 19, 2024
1 parent b026395 commit 2c01ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class Mongo extends Construct implements DnsAwareStatefulSet {
new Job(this, `${this.node.id}-setup-rs`, {
image: `mongo:${this.release}`,
restartPolicy: PodSpecRestartPolicy.NEVER,
backoffLimit: 0,
backoffLimit: 6,
release: this.release,
command: ["/bin/bash"],
args: [
Expand Down

0 comments on commit 2c01ef1

Please sign in to comment.