Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
585f6e4389 | ||
|
600275f4a4 | ||
|
a31bf71c1c |
@@ -1,5 +1,10 @@
|
||||
### Release v1.16
|
||||
|
||||
2020.12.03
|
||||
|
||||
- 修改 进程退出清理日志级别
|
||||
- 增加 MIT Copyright
|
||||
|
||||
2020.08.23
|
||||
|
||||
- 优化 文件扫描性能
|
||||
|
@@ -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)
|
||||
|
@@ -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 {
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
Reference in New Issue
Block a user