From: Scott Gasch Date: Sat, 5 Feb 2022 18:04:06 +0000 (-0800) Subject: Change threshold. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=4e975f82f17e09d13efda815fe62efa9eb131210;p=python_utils.git Change threshold. --- diff --git a/lockfile.py b/lockfile.py index 2d42914..2907107 100644 --- a/lockfile.py +++ b/lockfile.py @@ -18,7 +18,7 @@ cfg = config.add_commandline_args(f'Lockfile ({__file__})', 'Args related to loc cfg.add_argument( '--lockfile_held_duration_warning_threshold_sec', type=float, - default=10.0, + default=60.0, metavar='SECONDS', help='If a lock is held for longer than this threshold we log a warning', )