It seems that in Cosmos DB Gremlin API, query timeout is set to 30 seconds. Is there a known way to increase it?
- Timeout is ignored in
gremlin-driver
3.4.3
- Same behavior with
:remote config timeout
in Gremlin Console3.4.3
- Increasing throughput from did not help either
// graph has >200000 vertices
String superSlowQuery = "g.V().repeat(identity()).times(32)";
time(() -> client.submit(superSlowQuery).all().get());
// OperationCanceledException after 31560ms
time(() -> client.submit(superSlowQuery).all().get());
// OperationCanceledException after 35081ms
RequestOptions requestOptions = RequestOptions.build().timeout(120 * 1000).create();
time(() -> client.submit(superSlowQuery, requestOptions).all().get());
// OperationCanceledException after 31656ms