refactor: replace Trio with asyncio/uvloop

This commit is contained in:
Stefan Stammberger
2021-08-30 19:55:02 +02:00
parent fe79709698
commit d9849d43d2
21 changed files with 332 additions and 317 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import trio
import asyncio
import json
import httpx
from os import getenv
@@ -146,4 +146,4 @@ class LNbitsWallet(Wallet):
pass
print("lost connection to lnbits /payments/sse, retrying in 5 seconds")
await trio.sleep(5)
await asyncio.sleep(5)