似乎在 Cosmos DB Gremlin API 中,查询超时设置为 30 秒。有没有已知的方法来增加它?
- 超时被忽略
gremlin-driver
3.4.3
:remote config timeout
Gremlin 控制台中的行为相同3.4.3
- 增加吞吐量也无济于事
// 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