Open kuzeko opened 3 years ago
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
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