X-Profiler / xprofiler

🌀An addon for node.js, which supporting output performance log and real-time profiling through sampling.
Other
422 stars 57 forks source link

fix: ignore clean error #200

Closed hyj1991 closed 1 year ago

hyj1991 commented 1 year ago

cluster 模式下并发启动 Node 进程可能会重复清理无效的旧 domain socket 文件,这里的错误可以忽略,无需打印出来造成干扰

清理旧 sock 失败不应该影响主流程。

codecov[bot] commented 1 year ago

Codecov Report

Merging #200 (7ca025e) into master (2a6eaba) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #200   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          296       296           
=========================================
  Hits           296       296           
Impacted Files Coverage Δ
lib/clean.js 100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more