Skip to content

Commit

Permalink
lock/query: make use of tries for list_locks()
Browse files Browse the repository at this point in the history
The list_locks has been updated with new argument 'tries' in PR#1816,
but by unfortunate mistake hasn't been used yet.

Fixes: 55886ea

Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Aug 6, 2024
1 parent bb73e63 commit b19efdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/lock/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def list_locks(keyed_by_name=False, tries=10, **kwargs):
with safe_while(
sleep=1,
increment=0.5,
tries=-1,
tries=tries,
action='list_locks'
) as proceed:
while proceed():
Expand Down

0 comments on commit b19efdc

Please sign in to comment.