Authored by unknown

优化closeIncrease

@@ -68,11 +68,11 @@ public abstract class AbstractMqListener implements ApplicationEventPublisherAwa @@ -68,11 +68,11 @@ public abstract class AbstractMqListener implements ApplicationEventPublisherAwa
68 68
69 @Override 69 @Override
70 public void onMessage(Message message, Channel channel) throws Exception { 70 public void onMessage(Message message, Channel channel) throws Exception {
71 - try {  
72 if (ignoreIncrease) { 71 if (ignoreIncrease) {
73 logger.warn("be ignoreIncreasing ,please close the flag after successed "); 72 logger.warn("be ignoreIncreasing ,please close the flag after successed ");
74 return; 73 return;
75 } 74 }
  75 + try {
76 rebuildFlagService.waitingRebuildingIndex(); 76 rebuildFlagService.waitingRebuildingIndex();
77 this.doBeforeConsume(); 77 this.doBeforeConsume();
78 this.doConsume(message); 78 this.doConsume(message);