From b1fcc0578c6cb436892f67ec95562bd8ad8e8706 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Wed, 24 Jun 2020 10:23:01 -0400 Subject: [PATCH] default awx-manage bottleneck --threshold to 30s --- awx/main/management/commands/bottleneck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/management/commands/bottleneck.py b/awx/main/management/commands/bottleneck.py index 7948507c70..1636f7e969 100644 --- a/awx/main/management/commands/bottleneck.py +++ b/awx/main/management/commands/bottleneck.py @@ -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)')