Allow the setting of the scriptEvaluationTimeout per request has been an
issue for a long time:

https://issues.apache.org/jira/browse/TINKERPOP-1342

I've hesitated a number of times in implementing this as it seemed to mean
just more overloads around submit() and I didn't really want that. I think
i'm going to create a new class to hold all the possible parameters called
RequestOptions so that we basically just end up with:

submit(gremlin)
submit(gremlin, RequestOptions)
submit(RequestMessage)

That's really rough and obviously all the async variants would be there as
well in that pattern, but anyone who follows the driver development should
follow where I'm going with that. With those signatures we would then
deprecate the other ones. I see all this change as part of 3.4.0.

Please let me know if there are any concerns with this approach. Thanks!

Reply via email to