From df730e064ac44a7542bb9ac3ac63d7b27613d3a9 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Wed, 18 Jan 2023 17:31:42 +0800 Subject: [PATCH 1/2] Change the default value of session_reclaim_interval_secs to 60 seconds --- .../1.configurations/3.graph-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0/5.configurations-and-logs/1.configurations/3.graph-config.md b/docs-2.0/5.configurations-and-logs/1.configurations/3.graph-config.md index cf29d56cba6..be456080956 100644 --- a/docs-2.0/5.configurations-and-logs/1.configurations/3.graph-config.md +++ b/docs-2.0/5.configurations-and-logs/1.configurations/3.graph-config.md @@ -51,7 +51,7 @@ Graph 服务提供了两份初始配置文件`nebula-graphd.conf.default`和`neb | 名称 | 预设值 | 说明 | | ------------------- | ------------------------ | ------------------------------------------ | |`accept_partial_success` |`false` |是否将部分成功视为错误。此配置仅适用于只读请求,写请求总是将部分成功视为错误。| -|`session_reclaim_interval_secs`|`10`| 将 Session 信息发送给 Meta 服务的间隔。单位:秒。| +|`session_reclaim_interval_secs`|`60`| 将 Session 信息发送给 Meta 服务的间隔。单位:秒。| |`max_allowed_query_size`|`4194304`|最大查询语句长度。单位:字节。默认为`4194304`,即 4MB。| ## networking 配置 From 80f48462c00917db3513ea909395dc364d9a5325 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Wed, 18 Jan 2023 17:44:03 +0800 Subject: [PATCH 2/2] add a default value --- .../3.ngql-guide/17.query-tuning-statements/2.kill-session.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0/3.ngql-guide/17.query-tuning-statements/2.kill-session.md b/docs-2.0/3.ngql-guide/17.query-tuning-statements/2.kill-session.md index ad0124f4909..1bf452657b8 100644 --- a/docs-2.0/3.ngql-guide/17.query-tuning-statements/2.kill-session.md +++ b/docs-2.0/3.ngql-guide/17.query-tuning-statements/2.kill-session.md @@ -5,7 +5,7 @@ !!! note - 只有`root`用户可以终止会话。 - - 执行`KILL SESSION`命令后,所有的 Graph 服务同步最新的会话信息需要等待 `2* session_reclaim_interval_secs`秒。 + - 执行`KILL SESSION`命令后,所有的 Graph 服务同步最新的会话信息需要等待`2* session_reclaim_interval_secs`秒,默认等待`120`秒。 ## 语法