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.
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 thewebsockets
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