Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default value of session_reclaim_interval_secs to 60 seconds #2508

Merged
merged 2 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
!!! note

- 只有`root`用户可以终止会话。
- 执行`KILL SESSION`命令后,所有的 Graph 服务同步最新的会话信息需要等待 `2* session_reclaim_interval_secs`秒。
- 执行`KILL SESSION`命令后,所有的 Graph 服务同步最新的会话信息需要等待`2* session_reclaim_interval_secs`秒,默认等待`120`秒。

## 语法

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 配置
Expand Down