default awx-manage bottleneck --threshold to 30s

This commit is contained in:
Ryan Petrello 2020-06-24 10:23:01 -04:00
parent dd42f6351b
commit b1fcc0578c
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -10,8 +10,8 @@ class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument('--template', dest='jt', type=int,
help='ID of the Job Template to profile')
parser.add_argument('--threshold', dest='threshold', type=float, default=5,
help='Only show tasks that took at least this many seconds (defaults to 5)')
parser.add_argument('--threshold', dest='threshold', type=float, default=30,
help='Only show tasks that took at least this many seconds (defaults to 30)')
parser.add_argument('--history', dest='history', type=float, default=25,
help='The number of historic jobs to look at')
parser.add_argument('--ignore', action='append', help='ignore a specific action (e.g., --ignore git)')