use thread instead of greenlet to start run time tests
This commit is contained in:
parent
cd671feb92
commit
88146a5690
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
This file registers blueprints for the private api server
|
This file registers blueprints for the private api server
|
||||||
"""
|
"""
|
||||||
|
from threading import Thread
|
||||||
from gevent import spawn
|
from gevent import spawn
|
||||||
from gevent import sleep
|
from gevent import sleep
|
||||||
|
|
||||||
@ -57,5 +58,6 @@ def register_private_blueprints(private_api, app):
|
|||||||
app.register_blueprint(
|
app.register_blueprint(
|
||||||
private_api._too_many.get_by_string('DaemonEventsBP').flask_bp)
|
private_api._too_many.get_by_string('DaemonEventsBP').flask_bp)
|
||||||
|
|
||||||
spawn(_add_events_bp)
|
Thread(target=_add_events_bp).start()
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
@ -1 +1 @@
|
|||||||
1580372474
|
1580533017
|
Loading…
Reference in New Issue
Block a user