Skip to content

Do I need to close connections?  #15

@vespertilian

Description

@vespertilian

I have a number of scripts that all create there own connection, and I was trying to see if there was a cleanup function I need to run when I am finished with the connections and want to disconnect.

Is there a cleanup function?

Also is there a limit on connections?

I could not find answers to either of these questions, in the docs, or the code. It could be I am bad at looking.

I am planning to use DGraph via Lambda so every time a function is called it needs it's own connection, so it's important to understand any limits here.

It feel it would be worthwhile to have a cleanup/disconnect section after the "commit a transaction" section in these docs. I would consider adding this even if you don't have to cleanup/disconnect as its something I often look for an answer for when working with DB clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions