]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock/query.py: add grace_time param to node_active_job() 2034/head
authorVallari Agrawal <val.agl002@gmail.com>
Thu, 6 Mar 2025 13:38:29 +0000 (19:08 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Thu, 6 Mar 2025 13:38:29 +0000 (19:08 +0530)
commite510a84afb3a5925eeac7ded7c528596ee48c594
treeff85f417b0f35979e5f93c430896d084bd71f42a
parent37741772266d03f9a77f23f16c45c608910baf59
lock/query.py: add grace_time param to node_active_job()

This is because we only want this grace period
when looking for stale jobs. Not when jobs are
being unlocked by the supervisor by unlock_one_safe().

Fixes: https://github.com/ceph/teuthology/pull/2033#issuecomment-2703733380
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
teuthology/lock/query.py