projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a simple test for waitable presence.
[python_utils.git]
/
lockfile.py
diff --git
a/lockfile.py
b/lockfile.py
index 2d429147937d01b37a057910c50004374917af0f..290710759dbc702fff757ae2561fe5c0af3051a6 100644
(file)
--- 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,
cfg.add_argument(
'--lockfile_held_duration_warning_threshold_sec',
type=float,
- default=
1
0.0,
+ default=
6
0.0,
metavar='SECONDS',
help='If a lock is held for longer than this threshold we log a warning',
)
metavar='SECONDS',
help='If a lock is held for longer than this threshold we log a warning',
)