Documentation is unclear about when actual server connection occurs #805
robross0606
started this conversation in
General
Replies: 2 comments 5 replies
-
As ArangoDB uses HTTP and the driver currently uses HTTP1, connections are only opened as necessary rather than in advance. With |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm converting this to a discussion as this is not really an bug or feature request. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Unless I'm missing it, the documentation is very unclear about when initial connection to the database occurs. The documentation for
new Database()
implies a connection pool is created, but doesn't state if an actual network connection is initialized at that point. But initializing a network connection in a constructor feels like a bit of a code smell to me. Which API calls initialize an actual network connection?Beta Was this translation helpful? Give feedback.
All reactions