[Ovirt-devel] [PATCH node] Causes ovirt-post to wait for libvirt to finish initializing.

Perry Myers pmyers at redhat.com
Wed Mar 25 15:04:01 UTC 2009


Alan Pevec wrote:
> On Tue, Mar 24, 2009 at 11:00 PM, Perry Myers <pmyers at redhat.com> wrote:
>> Waiting for 10 seconds seems somewhat arbitrary. �What if the machine is
>> really slow and it takes more than 10 seconds for it to come up? �Maybe
>> that's unlikely, it's just that relying on sleep always scares me.
> 
> This isn't blind sleep, which would be bad, there's a check for a
> condition (socket exists)

yes, but 10 second total timeout is a blind sleep.  i.e. what if socket 
takes 15 seconds to create?

Perry

-- 
|=-        Red Hat, Engineering, Emerging Technologies, Boston        -=|
|=-                     Email: pmyers at redhat.com                      -=|
|=-         Office: +1 412 474 3552   Mobile: +1 703 362 9622         -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|




More information about the ovirt-devel mailing list