Replies: 1 comment
-
The StackOverflow answer to your question might help: |
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
-
We have a existing client application is made of fabric node js sdk to interact with blockchain network. It creates the gateway object and disconnect for every transaction. Can we reuse the gateway object somehow so that burden of creating and destroying gateway objet can be avoided.
Sdk version used : 2.2
I have tried to make it singleton by creating the gateway object at the time of application start and make available throughout the application lifetime but sometime it's giving error like "timed out for discovery".
Beta Was this translation helpful? Give feedback.
All reactions