Add sleep?

This commit is contained in:
Joshua Boniface 2018-06-02 00:40:44 -04:00
parent 95da7db7f9
commit 72f16a97ec
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class VMInstance:
if dom == None:
try:
sleep(0.5)
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii'))
except:
pass