Replies: 1 comment
-
possibly related to the #2814 regression, maybe the client needs to call set_event_loop now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This might be quite an asyncio newbie question, but the aiohttp example uses two loops, one for aiohttp web and one for psp.
When I do this (for psp 3.x, haven't tested 2.x), running the table.update in the psp loop (and asyncio.sleeping) doesn't seem to trigger the websocket to send updates to a remote client (running py-spy in blocking mode does seem to jump start it though).
The fix for me was to run aiohttp in the same loop as psp (I think this is similar to the tornado examples?)
Is this the correct way to do things?
Beta Was this translation helpful? Give feedback.
All reactions