-
Notifications
You must be signed in to change notification settings - Fork 639
Closed as not planned
Labels
Category: QuestionNot an issue but a question. May lead to enhancing docsNot an issue but a question. May lead to enhancing docsState: Awaiting ResponseAwaiting user response.Awaiting user response.State: StaleStale.Stale.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Category: QuestionNot an issue but a question. May lead to enhancing docsNot an issue but a question. May lead to enhancing docsState: Awaiting ResponseAwaiting user response.Awaiting user response.State: StaleStale.Stale.