hugegraph / hugegraph-hubble

Please move to Apache Hugegraph-Toolchain, Thanks
https://github.com/apache/hugegraph-toolchain/tree/master/hugegraph-hubble
Apache License 2.0
40 stars 42 forks source link

[Question] 查询超过30S失败的问题如何解决 #333

Open cowcomic opened 2 years ago

cowcomic commented 2 years ago

Problem Type (问题类型)

No response

Before submit

Environment (环境信息)

Your Question (问题描述)

使用hubble查询超过30s就会失败,这个时间怎么调整 尝试调整app中的一些timeout配置,都不起作用

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

duishuhaoqi commented 2 years ago

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

cowcomic commented 2 years ago

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

我们把这两个参数加上了,也没用 T T 可能是其他的参数影响的吧

javeme commented 2 years ago

请求超时参数涉及到3个:

  1. scriptEvaluationTimeout:gremlin-server的超时。(gremlin-server.yaml)
  2. restserver.request_timeout:rest-server的超时。(rest-server.properties)
  3. gremlinserver.timeout:rest-server连接gremlin-server的超时。(rest-server.properties)

参考: https://hugegraph.github.io/hugegraph-doc/config/config-option.html

Zhang88665 commented 8 months ago

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

请问解决了吗,我按照下面作者配置了三个地方的参数,还是只延长到了1min