mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
no timeout for the sse connection (#1784)
This commit is contained in:
parent
7e1f43933d
commit
d66c83c91a
@ -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: "
|
||||
|
Loading…
Reference in New Issue
Block a user