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"
|
url = "/api/v1/invoicestream"
|
||||||
try:
|
try:
|
||||||
last_connected = time.time()
|
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():
|
async for line in r.aiter_lines():
|
||||||
try:
|
try:
|
||||||
prefix = "data: "
|
prefix = "data: "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user