You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, how can I check if the thrift connection is open/valid before I use the client method? Is there a way to know if the connection was established correctly when I'm creating a thrift client?
If I just do this:
var thrift_client = thriftPool(thrift, Service, {host: "localhost", port: 9090});
How can i guarantee that the connection is working before i call a method on the client?
The text was updated successfully, but these errors were encountered:
Not the maintainer, but I can tell you what I've done.
I've implemented a "Ping" endpoint in my thrift service for healthchecks. So when I create the pool, i immediately run a "Ping" to ensure the pool was able to connect.
Hi, how can I check if the thrift connection is open/valid before I use the client method? Is there a way to know if the connection was established correctly when I'm creating a thrift client?
If I just do this:
var thrift_client = thriftPool(thrift, Service, {host: "localhost", port: 9090});
How can i guarantee that the connection is working before i call a method on the client?
The text was updated successfully, but these errors were encountered: