Browse Source

use thread instead of greenlet to start run time tests

expiry-test
Kevin Froman 1 year ago
parent
commit
88146a5690
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      src/apiservers/private/register_private_blueprints.py
  2. +1
    -1
      tests/runtime-result.txt

+ 3
- 1
src/apiservers/private/register_private_blueprints.py 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

+ 1
- 1
tests/runtime-result.txt View File

@ -1 +1 @@
1580372474
1580533017

Loading…
Cancel
Save