arangodb-tinkerpop-provider icon indicating copy to clipboard operation
arangodb-tinkerpop-provider copied to clipboard

Add Option to Increase Query Timeout for *all* queries

Open kuzeko opened this issue 4 years ago • 0 comments

Query timeout is usually set for each query

https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor

In the java driver this can be specified with the AqlQueryOptions ttl(Integer ttl) method.

At this time, the arangodb java driver does not allow setting it globally. If not set for each query, a server-defined value will be used, which can be modified with a different server side option.

Therefore, it would be necessary to add a configuration parameter to the tinkerpop driver which will then add the option to all queries.

See also https://github.com/ArangoDB-Community/arangodb-tinkerpop-provider/issues/66 for more context

kuzeko avatar Sep 28 '20 13:09 kuzeko