RPC fibonacci python tutorial #1626
MisterCodeRalf
started this conversation in
General
Replies: 1 comment
-
These are tutorials. They cannot demonstrate everything at once. I would argue that using short lived connections in tutorials is/would be a bigger issue for us because people copy code into production and create connection churn, which is so problematic it has two dedicated sections in various doc guides. |
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.
-
Leaving connections open is not a good idea. This may lead to overflows:
in the rpc_client.py file in the def init(self) a close should be defined:
def close(self):
self.connection.close()
this should then be called at the end of the rpc_client.py file:
fibonacci_rpc.close()
Beta Was this translation helpful? Give feedback.
All reactions