mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
no timeout for the sse connection (#1784)
This commit is contained in:
@@ -141,7 +141,7 @@ class LnTipsWallet(Wallet):
|
||||
url = "/api/v1/invoicestream"
|
||||
try:
|
||||
last_connected = time.time()
|
||||
async with self.client.stream("GET", url) as r:
|
||||
async with self.client.stream("GET", url, timeout=None) as r:
|
||||
async for line in r.aiter_lines():
|
||||
try:
|
||||
prefix = "data: "
|
||||
|
Reference in New Issue
Block a user