为什么使用“:remote config timeout none”仍然在带有 Janusgraph 的 gremlin 中给出超时错误

Why using ':remote config timeout none' is still giving timeout error in gremlin with Janusgraph

我已尝试运行以下查询,但仍然收到超时错误。

gremlin> :remote config timeout none
==>Remote timeout is disabled
gremlin> mgmt.updateIndex(mgmt.getGraphIndex("byUserNameType"), SchemaAction.REINDEX).get()
Evaluation exceeded the configured 'evaluationTimeout' threshold of 300000 ms or evaluation was otherwise cancelled directly for request [mgmt.updateIndex(mgmt.getGraphIndex("byUserNameType"), SchemaAction.REINDEX).get()] - try increasing the timeout with the :remote command
Type ':help' or ':h' for help.
Display stack trace? [yN]N

:remote config 命令适用于 gremlin 客户端,并保持 Gremlin 服务器的超时设置不变。
要通过远程连接进行重建索引,您必须在 conf/gremlin-server/gremlin-server.yaml 文件中增加 Gremlin 服务器的 evaluationTimeout 设置(或将 evaluationTimeout 设置为 0 以禁用它)。
https://tinkerpop.apache.org/docs/current/reference/#_configuring_2