use thread instead of greenlet to start run time tests

This commit is contained in:
Kevin Froman 2020-01-31 22:57:53 -06:00
parent cd671feb92
commit 88146a5690
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
This file registers blueprints for the private api server
"""
from threading import Thread
from gevent import spawn
from gevent import sleep
@ -57,5 +58,6 @@ def register_private_blueprints(private_api, app):
app.register_blueprint(
private_api._too_many.get_by_string('DaemonEventsBP').flask_bp)
spawn(_add_events_bp)
Thread(target=_add_events_bp).start()
return app

View File

@ -1 +1 @@
1580372474
1580533017