graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.51k stars 490 forks source link

Remove pidfile on ValueError exception #853

Closed albang closed 5 years ago

albang commented 5 years ago

In order to go further to go further #592 , I suggest to delete the PID file when it is corrupted

codecov-io commented 5 years ago

Codecov Report

Merging #853 into master will decrease coverage by 0.26%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #853      +/-   ##
==========================================
- Coverage   50.14%   49.88%   -0.27%     
==========================================
  Files          37       37              
  Lines        3442     3460      +18     
  Branches      495      495              
==========================================
  Hits         1726     1726              
- Misses       1604     1622      +18     
  Partials      112      112
Impacted Files Coverage Δ
lib/carbon/conf.py 38.43% <0%> (-2.3%) :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 6d44177...06e5a91. Read the comment docs.