feat: add settings.lnbits_running (#2450)
* feat: add `settings.lnbits_runing `
This commit is contained in:
@@ -141,6 +141,6 @@ class OpenNodeWallet(Wallet):
|
||||
|
||||
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
|
||||
self.queue: asyncio.Queue = asyncio.Queue(0)
|
||||
while True:
|
||||
while settings.lnbits_running:
|
||||
value = await self.queue.get()
|
||||
yield value
|
||||
|
||||
Reference in New Issue
Block a user