gremlin如何设置scriptevaluationtimeout 0
我想将scriptevaluationtimeout设置为0。gremlin如何设置scriptevaluationtimeout 0,gremlin,gremlin-server,gremlinpython,Gremlin,Gremlin Server,Gremlinpython,我想将scriptevaluationtimeout设置为0。 我正在使用apache-tinkerpop-gremlin-console-3.4.9。 我想使用gremlin-python。正如上面提到的问题,不太清楚您指的是gremlin控制台还是gremlin-python,所以我将两种方式都回答。对于Gremlin控制台,远程连接的首选方法是发出以下命令: gremlin> :remote connect tinkerpop.server conf/remote.yaml ==&
我正在使用apache-tinkerpop-gremlin-console-3.4.9。
我想使用gremlin-python。正如上面提到的问题,不太清楚您指的是gremlin控制台还是gremlin-python,所以我将两种方式都回答。对于Gremlin控制台,远程连接的首选方法是发出以下命令:
gremlin> :remote connect tinkerpop.server conf/remote.yaml
==>Configured localhost/127.0.0.1:8182
gremlin> :remote config timeout none
上述内容详见参考文件的第1部分。对于gremlin python,您可以按如下所述配置每个请求超时:
或:
正如上面提到的问题,不太清楚您指的是Gremlin控制台还是Gremlin python,所以我将两种方式都回答。对于Gremlin控制台,远程连接的首选方法是发出以下命令:
gremlin> :remote connect tinkerpop.server conf/remote.yaml
==>Configured localhost/127.0.0.1:8182
gremlin> :remote config timeout none
上述内容详见参考文件的第1部分。对于gremlin python,您可以按如下所述配置每个请求超时:
或:
你打算做什么?scriptevaluationtimeout为0将导致每个查询失败。这就是你想要的吗?apache tinkerpop gremlin控制台在内部使用groovy,与gremlin python不同。您正在寻找这两个问题的答案吗?0是将同时禁用超时的配置。您计划做什么?scriptevaluationtimeout为0将导致每个查询失败。这就是你想要的吗?apache tinkerpop gremlin控制台在内部使用groovy,与gremlin python不同。您正在寻找这两个问题的答案吗?0是将同时禁用超时的配置。谢谢。gremlin>:远程配置超时无==>禁用远程超时脚本评估超过配置的“scriptEvaluationTimeout”阈值30000毫秒,或者直接取消请求的评估[graph.traversal().withComputer().V().has('lat',34.66494274048)。shortestPath().with(shortestPath.target,_u_u.has('lat',34.66561185416)).with(ShortestPath.distance,'cost')]wait?你是说它不起作用吗?我想是的..我将远程配置超时设置为无,而上面的遍历失败(scriptEvaluationTimeout)。我将尝试python-gremlin的相同查询。您使用的是什么图形数据库?我使用doker image tinkerpop/gremlin服务器:3.4.9谢谢。gremlin>:远程配置超时无==>远程超时被禁用脚本评估超过配置的“scriptEvaluationTimeout”阈值30000毫秒,或者直接为requ取消评估est[graph.traversal().withComputer().V().has('lat',34.66494274048)。shortestPath().with('shortestPath.target,'uuuuuu.has('lat',34.66561185416)).with('shortestPath.distance,'cost')]等等?你是说它不起作用吗?我想是这样的。我将远程配置超时设置为none,上面的traverse失败(scriptEvaluationTimeout)。我将尝试python-gremlin的相同查询。您使用的是什么图形数据库?我使用的是doker image tinkerpop/gremlin服务器:3.4.9
vertices = g.with_('evaluationTimeout', 0).V().out('knows').toList()