Description
TinkerPop APIs allow this:
final Cluster cluster = test.createGremlinCluster(); final GraphTraversalSource g = traversal().withRemote(DriverRemoteConnection.using(cluster)); try { client.submit(g.with("evaluationTimeout",10000). V("1").repeat(__.out().limit(1)).times(1000).constant(1)).all().get(); } catch (Exception ex) { System.out.println(ex.getMessage()); } cluster.close();
which bypasses functionality that injects the timeout and other RequestOptions into the request. Ultimately, this usage is undocumented but allowable without clear documentation saying otherwise. Deprecate this immediately, then come up with a proper means to remove it entirely in a major version where a breaking change can take place.