Skip to content

Commit

Permalink
程序启动失败,内存没释放
Browse files Browse the repository at this point in the history
  • Loading branch information
司杰 committed May 27, 2021
1 parent 4adaf80 commit 40487bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pilot/filebeat_piloter.go
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ func (p *FilebeatPiloter) Start() error {
// try to restart filebeat
log.Warningf("filebeat exited and try to restart")
filebeat = nil
// close watch
p.watchDone <- true
p.watchDone <- true
p.Start()
}()

Expand Down

0 comments on commit 40487bc

Please sign in to comment.