Skip to content

Commit

Permalink
Change the default value of session_reclaim_interval_secs to 60 secon…
Browse files Browse the repository at this point in the history
…ds (#2508)

* Change the default value of session_reclaim_interval_secs to 60 seconds

* add a default value
  • Loading branch information
abby-cyber authored Jan 31, 2023
1 parent 0523a14 commit f1b3a47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit f1b3a47

Please sign in to comment.