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

update: 添加参数ignore_sighup,默认忽略终端连接断开信号 #195

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

hanchuanchuan
Copy link
Owner

终端控制进程结束(终端连接断开)时 会自动发送 SIGHUP 信号量以关闭终端子进程,
goinception添加特殊处理,忽略该信号。

为避免该更新产生异常影响,添加新参数 ignore_sighup 用以开关该特性。
默认为true,开启该特性,即默认 忽略 SIGHUP信号量

重要:该参数设置位置和 port[inc] 配置同级
可参考 配置文件示例 config.toml.example

@codecov
Copy link

codecov bot commented Apr 13, 2020

Codecov Report

Merging #195 into master will decrease coverage by 0.0096%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             master       #195        +/-   ##
================================================
- Coverage   59.8990%   59.8893%   -0.0097%     
================================================
  Files           374        374                
  Lines         83776      83721        -55     
================================================
- Hits          50181      50140        -41     
+ Misses        29051      29037        -14     
  Partials       4544       4544                

@hanchuanchuan hanchuanchuan merged commit 86b0bef into master Apr 13, 2020
@hanchuanchuan hanchuanchuan deleted the patch-ignore-sig-hangup branch April 13, 2020 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant