tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Add custom gremlin transport #74

Closed dorranh closed 1 year ago

dorranh commented 1 year ago

As noted in #72, the default transport implemented by gremlinpython lacks a mechanism to reconnect in case of unexpected disconnects, network issues, etc. This PR introduces a custom transport implementation which is built directly on the websockets library and includes logic for re-establishing client connections in case of connection errors.

In addition to the unit tests, I have also manually tested these changes locally and on the demo deployment.

Closes #72