Browse Source

perf: 修改健康监测

pull/6705/head
ibuler 3 years ago committed by Jiangjie.Bai
parent
commit
628012a7ee
  1. 2
      utils/check_celery.sh

2
utils/check_celery.sh

@ -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