Skip to content

When to close client connection? #2388

@ondrowan

Description

@ondrowan

I know questions should be posted to forums, but I stumbled on something similar with no answers. I couldn't find anything about this in official documentation, so maybe it could be also improved.

When should I close the connection to Dgraph when working on a web application? After each request or after application is exited? Javascript client mentions that I should cleanup resources, but it doesn't mention when.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomething requiring a response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions