like in threaded workers let some time to the vm to release locks

applied similar change to 8936d8274770bec5fced09b28eb687b23bef20c1

fix #981
This commit is contained in:
Benoit Chesneau 2015-03-06 08:51:14 +01:00
parent 803a2d71b0
commit a459986cfd

View File

@ -7,6 +7,7 @@ from datetime import datetime
import os
import signal
import sys
import time
from random import randint
@ -149,6 +150,7 @@ class Worker(object):
self.alive = False
# worker_int callback
self.cfg.worker_int(self)
time.sleep(0.1)
sys.exit(0)
def handle_abort(self, sig, frame):