Revert "enforce JT/Job.timeout >= 0"

This reverts commit 1fb41cf8d0.
This commit is contained in:
Ryan Petrello
2018-07-10 15:06:13 -04:00
parent 68ceaadf8d
commit acd045379c
2 changed files with 1 additions and 28 deletions

View File

@@ -134,7 +134,7 @@ class JobOptions(BaseModel):
allow_simultaneous = models.BooleanField(
default=False,
)
timeout = models.PositiveIntegerField(
timeout = models.IntegerField(
blank=True,
default=0,
help_text=_("The amount of time (in seconds) to run before the task is canceled."),