Skip to content

Conversation

liyonghua0910
Copy link
Collaborator

@liyonghua0910 liyonghua0910 commented Aug 8, 2025

问题描述
当后台worker进程挂掉时,前台 api server 没有感知,看起来一切正常,此时发请求是收不到响应的,也收不到报错。

解决方法
在api server模块新增一个线程,每 5 秒探测一次worker进程是否存活。如果worker进程已挂,主动发送SIGINT信号关闭服务。

Copy link

paddle-bot bot commented Aug 8, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Aug 8, 2025
@codecov-commenter
Copy link

codecov-commenter commented Aug 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@ce9c091). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             develop   #3271   +/-   ##
=========================================
  Coverage           ?   0.00%           
=========================================
  Files              ?       2           
  Lines              ?      14           
  Branches           ?       1           
=========================================
  Hits               ?       0           
  Misses             ?      14           
  Partials           ?       0           
Flag Coverage Δ
diff 0.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants