Replies: 1 comment
-
|
So the issue is likely, that you can't reuse a NATS connection across different event loops. When you do something like multiple |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Observed behavior
Hi,
I may be doing something wrong but I couldn't find a good way to do this. If I try to reuse a JS context, it fails to send any messages and times out on every send
Apologies if I am trying to solve this the wrong way, I have been through all the docs, asked on the slack and gone over most of the source code.
Expected behavior
The context should be capable of sending messages later. Ideally, without reconnecting as the connect takes around 30ms.
Server and client version
nats-py v2.10.0
nats-server v2.11.8
Host environment
No response
Steps to reproduce
No response
Beta Was this translation helpful? Give feedback.
All reactions