Reviewed: https://review.openstack.org/221123 Committed: https://git.openstack.org/cgit/openstack/pylockfile/commit/?id=6e9888d592f92319c63ccbd86ea61db32076ae1c Submitter: Jenkins Branch: master
commit 6e9888d592f92319c63ccbd86ea61db32076ae1c Author: Davanum Srinivas <email address hidden> Date: Mon Sep 7 19:35:30 2015 -0400
Fix PIDLockFile.acquire() may loop indefinitely
end_time takes timeout into account, so when time.time() does hit the end_time, we should check if timeout was set or not and throw either LockTimeout or AlreadyLocked.
Closes-Bug: #1472101 Change-Id: I1f369628e765a173ff0cafd01c31eca725b41cae
Reviewed: https:/ /review. openstack. org/221123 /git.openstack. org/cgit/ openstack/ pylockfile/ commit/ ?id=6e9888d592f 92319c63ccbd86e a61db32076ae1c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6e9888d592f9231 9c63ccbd86ea61d b32076ae1c
Author: Davanum Srinivas <email address hidden>
Date: Mon Sep 7 19:35:30 2015 -0400
Fix PIDLockFile. acquire( ) may loop indefinitely
end_time takes timeout into account, so when time.time()
does hit the end_time, we should check if timeout was
set or not and throw either LockTimeout or AlreadyLocked.
Closes-Bug: #1472101 73ff0cafd01c31e ca725b41cae
Change-Id: I1f369628e765a1