Skip to content

Commit

Permalink
Add default to lock_expiration_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed May 13, 2024
1 parent ce3b7c7 commit 9523149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class Pipeline(models.Model):
default=DEFAULT_MAX_WORKFLOW_EXEC_TIME,
validators=[MaxValueValidator(DEFAULT_MAX_WORKFLOW_EXEC_TIME), MinValueValidator(1)]
)
lock_expiration_policy = models.CharField(max_length=16, choices=PIPELINE_LOCK_EXPIRATION_POLICIES)
lock_expiration_policy = models.CharField(max_length=16, choices=PIPELINE_LOCK_EXPIRATION_POLICIES, default=PIPELINE_LOCK_EXPIRATION_POLICY_DISABLE_PIPELINE)
max_retries = models.IntegerField(default=DEFAULT_MAX_RETRIES)
duplicate_submission_policy = models.CharField(max_length=32, choices=DUPLICATE_SUBMISSION_POLICIES, default=EnumDuplicateSubmissionPolicy.Terminate)
owner = models.CharField(max_length=64)
Expand Down

0 comments on commit 9523149

Please sign in to comment.