feat: add reconnect to nostrclient
This commit is contained in:
parent
929d45bed8
commit
e05b54468a
5 changed files with 52 additions and 3 deletions
|
|
@ -43,6 +43,7 @@ def nostrmarket_start():
|
|||
# wait for 'nostrclient' extension to initialize
|
||||
await asyncio.sleep(10)
|
||||
await nostr_client.run_forever()
|
||||
raise ValueError("Must reconnect to websocket")
|
||||
|
||||
async def _wait_for_nostr_events():
|
||||
# wait for this extension to initialize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue