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
I haven't found related information either in the doc or in other issues, so I am posting it here.
I am writing a Golang HTTP server which accesses Elasticsearch. When the server starts, I create the client using the elasticsearch.NewClient. Do I need to manually refresh the client periodically to keep the HTTP connection alive? Or is that already handled by the client, and I can just continue using the same client indefinitely? Thank you so much for your time and help in advance.
The text was updated successfully, but these errors were encountered:
I haven't found related information either in the doc or in other issues, so I am posting it here.
I am writing a Golang HTTP server which accesses Elasticsearch. When the server starts, I create the client using the
elasticsearch.NewClient
. Do I need to manually refresh the client periodically to keep the HTTP connection alive? Or is that already handled by the client, and I can just continue using the same client indefinitely? Thank you so much for your time and help in advance.The text was updated successfully, but these errors were encountered: