From d66c83c91a5427cfc0a01c82e7de88ea92ed8d1d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Mon, 26 Jun 2023 10:02:49 +0200 Subject: [PATCH] no timeout for the sse connection (#1784) --- lnbits/wallets/lntips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/lntips.py b/lnbits/wallets/lntips.py index c8221b6bf..4ba07c787 100644 --- a/lnbits/wallets/lntips.py +++ b/lnbits/wallets/lntips.py @@ -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: "