perf: 修改健康监测

pull/6705/head
ibuler 3 years ago committed by Jiangjie.Bai
parent c1579f5fe4
commit 628012a7ee

@ -1,6 +1,6 @@
#!/bin/bash
if [[ "$(ps axu | grep 'celery' | grep -v 'grep' | grep -cv 'defunct')" == "5" ]];then
if [[ "$(ps axu | grep 'celery' | grep -v 'grep' | grep -cv 'defunct')" -gt "2" ]];then
exit 0
else
exit 1

Loading…
Cancel
Save