Skip to content

close connection ? #56

Answered by appy-one
meaningg asked this question in Q&A
Mar 28, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@meaningg if you are creating a new AceBaseClient instance each time you are getting/updating data, you will get multiple connections if you don't close them. Best practice is to create 1 AceBaseClient instance (a single connection to the server), reuse it in your app and keep it open. If you do want to close the connection however, use client.disconnect()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@meaningg
Comment options

Answer selected by meaningg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants