AliyunContainerService / log-pilot

Collect logs for docker containers
https://yq.aliyun.com/articles/674327
Apache License 2.0
1.43k stars 400 forks source link

fix watchchan not exit #329

Open sijie1234 opened 3 years ago

sijie1234 commented 3 years ago

filebeat异常时候,没有回收掉watch的channel,导致内存泄露。

codecov-commenter commented 3 years ago

Codecov Report

Merging #329 (40487bc) into master (c7a9b22) will decrease coverage by 0.02%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #329      +/-   ##
==========================================
- Coverage   20.35%   20.32%   -0.03%     
==========================================
  Files           7        7              
  Lines         678      679       +1     
==========================================
  Hits          138      138              
- Misses        510      511       +1     
  Partials       30       30              
Impacted Files Coverage Δ
pilot/filebeat_piloter.go 6.20% <0.00%> (-0.05%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c7a9b22...40487bc. Read the comment docs.