Compare commits

...

3 Commits
main ... master

Author SHA1 Message Date
dengsgo 585f6e4389 增加 Copyright 2020-12-03 21:21:35 +08:00
dengsgo 600275f4a4 增加 changelog 2020-12-03 21:14:36 +08:00
dengsgo a31bf71c1c 修改 进程退出清理日志 2020-12-03 21:11:00 +08:00
5 changed files with 22 additions and 1 deletions

View File

@ -1,5 +1,10 @@
### Release v1.16
2020.12.03
- 修改 进程退出清理日志级别
- 增加 MIT Copyright
2020.08.23
- 优化 文件扫描性能

View File

@ -1,3 +1,7 @@
// Copyright (c) 2018-2020 Author dengsgo<dengsgo@yoytang.com> [https://github.com/dengsgo/fileboy]
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
package main
import (
@ -318,7 +322,7 @@ func signalHandler() {
<-c
if taskMan != nil && taskMan.cmd != nil && taskMan.cmd.Process != nil {
if err := taskMan.cmd.Process.Kill(); err != nil {
logError("stopping the process failed: PID:", taskMan.cmd.ProcessState.Pid(), ":", err)
logWarn("stopping the process failed: PID:", taskMan.cmd.ProcessState.Pid(), ":", err)
}
}
os.Exit(0)

View File

@ -1,3 +1,7 @@
// Copyright (c) 2018-2020 Author dengsgo<dengsgo@yoytang.com> [https://github.com/dengsgo/fileboy]
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
package main
type FileGirl struct {

View File

@ -1,3 +1,7 @@
// Copyright (c) 2018-2020 Author dengsgo<dengsgo@yoytang.com> [https://github.com/dengsgo/fileboy]
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
package main
import (

View File

@ -1,3 +1,7 @@
// Copyright (c) 2018-2020 Author dengsgo<dengsgo@yoytang.com> [https://github.com/dengsgo/fileboy]
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
package main
import (