Authored by jack.xue

增加0判断

... ... @@ -92,10 +92,8 @@ public class QueueViewJob implements Callable {
DEBUG.error("Failed to parse queue_view info: {} , error {}", respJson, e);
return;
}
catch (Exception e)
{
DEBUG.error("Failed to execute monitor task , error {} ",e);
} catch (Exception e) {
DEBUG.error("Failed to execute monitor task , error {} ", e);
return;
}
... ... @@ -122,7 +120,7 @@ public class QueueViewJob implements Callable {
queueInfo.setAlert_high(alert);
if (queueInfo.getMessages() > alert) {
if (0 < alert && queueInfo.getMessages() > alert) {
//alert
String msg = buildAlarmMsg(queueInfo);
... ...