fix: reset-failed before systemd restart to clear rate limit
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 34s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
WangDL 2026-05-24 12:52:04 +08:00
parent 932bf362df
commit cf668c2bf4

View File

@ -87,6 +87,7 @@ jobs:
- name: Restart API service - name: Restart API service
run: | run: |
sudo systemctl reset-failed zhixi-api 2>/dev/null || true
sudo systemctl restart zhixi-api sudo systemctl restart zhixi-api
sleep 5 sleep 5
if sudo systemctl is-active zhixi-api; then if sudo systemctl is-active zhixi-api; then