Pull request #115 was not right as the helper thread run only once. As eventlet threads are scheduled on userspace the web server has to yield the cpu to allow the other thread to run or otherwise it would not run at all.
A sleep and a timeout were added to the web server loop to allow the other thread to run as expected. Also some sleeps where added during the helper thread execution loop to avoid blocking web server requests for a long time.
Pull request #115 was not right as the helper thread run only once. As eventlet threads are scheduled on userspace the web server has to yield the cpu to allow the other thread to run or otherwise it would not run at all. A sleep and a timeout were added to the web server loop to allow the other thread to run as expected. Also some sleeps where added during the helper thread execution loop to avoid blocking web server requests for a long time.