fix livestream startup issue

This commit is contained in:
pseudozach 2022-01-24 15:58:51 -08:00
parent 57eb27fcee
commit b00a39a7ce
2 changed files with 2 additions and 2 deletions

View File

@ -30,6 +30,6 @@ from .views import * # noqa
from .views_api import * # noqa
def lnticket_start():
def livestream_start():
loop = asyncio.get_event_loop()
loop.create_task(catch_everything_and_restart(wait_for_paid_invoices))

View File

@ -1,5 +1,5 @@
from http import HTTPStatus
from mmap import MAP_DENYWRITE
# from mmap import MAP_DENYWRITE
from fastapi.param_functions import Depends
from fastapi.params import Query