xend: Fix wait-for-stubdom loop to avoid possible infinite loop

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2010-01-14 10:14:17 +00:00
1 parent 56b0c617c9
commit fb95b70c12
1 file changed
+2 -2
+2 -2
View File
@@ -487,8 +487,8 @@ class ImageHandler:
time.sleep(0.1)
count += 1
if count < 100:
continue
if count > 100:
break
domains.domains_lock.acquire()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.