Add sleep?
This commit is contained in:
parent
95da7db7f9
commit
72f16a97ec
|
@ -40,6 +40,7 @@ class VMInstance:
|
||||||
|
|
||||||
if dom == None:
|
if dom == None:
|
||||||
try:
|
try:
|
||||||
|
sleep(0.5)
|
||||||
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii'))
|
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii'))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue