mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 01:34:45 -03:30
Merge pull request #2479 from ryanpetrello/release_3.3.0
Revert "enforce JT/Job.timeout >= 0"
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Generated by Django 1.11.11 on 2018-07-09 21:07
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.conf import settings
|
|
||||||
from django.db import migrations, models
|
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('main', '0042_v330_org_member_role_deparent'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='job',
|
|
||||||
name='timeout',
|
|
||||||
field=models.PositiveIntegerField(blank=True, default=0, help_text='The amount of time (in seconds) to run before the task is canceled.'),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='jobtemplate',
|
|
||||||
name='timeout',
|
|
||||||
field=models.PositiveIntegerField(blank=True, default=0, help_text='The amount of time (in seconds) to run before the task is canceled.'),
|
|
||||||
),
|
|
||||||
]
|
|
||||||
@@ -134,7 +134,7 @@ class JobOptions(BaseModel):
|
|||||||
allow_simultaneous = models.BooleanField(
|
allow_simultaneous = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
timeout = models.PositiveIntegerField(
|
timeout = models.IntegerField(
|
||||||
blank=True,
|
blank=True,
|
||||||
default=0,
|
default=0,
|
||||||
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
|
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
|
||||||
|
|||||||
Reference in New Issue
Block a user