You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2020/04/21 02:50:26 UTC

[GitHub] [tinkerpop] heljoyLiu edited a comment on issue #1278: gremlin-python: add 'timeout' argument in client-submit

heljoyLiu edited a comment on issue #1278:
URL: https://github.com/apache/tinkerpop/pull/1278#issuecomment-616919403


   > Just a comment, I think I have a Jira open on this somewhere but could not find it in a quick search. It would be good if the Python client, and for that matter any of the GLV clients exposed easy ways to set options like the per query timeout. I get fairly regular feedback from TinkerPop users who are frustrated that the Java client has features that are enabled by special case code that the other GLVs do not yet expose. Per query timeout is probably the one that comes up the most but others like sessions (recently added - thank you) come up as well.
   
   it's better to give users the same features all GLVs, like API(submit, submitAsync) , options, thanks.
   now, I'm not sure how to set Timeout args for bytecode request, and couldn't find issue like this. 
   so, I support timeout in demo graph server as bellow. TBD
   ```
   g.with('scriptEvaluationTimeout', 5000L).V().count()
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org