How To Make Gremlin_python Driverremoteconnection To Have Timeout And Retry Limit For Each Submit?
Solution 1:
Where is the documentation, or can you provide an example of instantiating a DriverRemoteConnection object that has the appropriate configuration to allow for retrying each query submission with NUM_RETRIES number of retries?
There is no such configuration. Even for the Java driver, which is the most featured driver in the TinkerPop repository, there is no such feature. Request retries require application specific programming as server error messages and codes are not currently unified (see TINKERPOP-2517). Therefore, depending on the graph database you have chosen you would need to determine what error codes and/or messages you would retry on and code such application logic yourself. Hopefully that clarifies TinkerPop's position and the features of the drivers.
Post a Comment for "How To Make Gremlin_python Driverremoteconnection To Have Timeout And Retry Limit For Each Submit?"