Comment 2 for bug 1472101

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pylockfile (master)

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