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 2019/04/26 16:42:24 UTC

[GitHub] [tinkerpop] spmallette opened a new pull request #1101: TINKERPOP-2203 Added console remote timeout to each request

spmallette opened a new pull request #1101: TINKERPOP-2203 Added console remote timeout to each request
URL: https://github.com/apache/tinkerpop/pull/1101
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2203
   
   Passes the console timeout to the server on each `:submit`:
   
   ```text
   gremlin> :remote config timeout 50
   ==>Set remote timeout to 50ms
   gremlin> :> Thread.sleep(1000);"back"
   Script evaluation exceeded the configured 'scriptEvaluationTimeout' threshold of 50 ms or evaluation was otherwise cancelled directly for request [Thread.sleep(1000);"back"]
   Type ':help' or ':h' for help.
   Display stack trace? [yN]y
   java.util.concurrent.TimeoutException: Script evaluation exceeded the configured 'scriptEvaluationTimeout' threshold of 50 ms or evaluation was otherwise cancelled directly for request [Thread.sleep(1000);"back"]
   	at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$1(GremlinExecutor.java:315)
   	at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
   	at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125)
   	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
   	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465)
   	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   All good with `mvn clean install && mvn verify -pl gremlin-console -DskipIntegrationTests=false`.
   
   VOTE +1
   

----------------------------------------------------------------
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


With regards,
Apache Git Services