Authored by Gino Zhang

重建索引去掉最后无用的sleep

@@ -60,7 +60,6 @@ public class IndexRebuildJob implements ApplicationEventPublisherAware { @@ -60,7 +60,6 @@ public class IndexRebuildJob implements ApplicationEventPublisherAware {
60 try { 60 try {
61 this.rebuildIndexWithlog(ISearchConstants.INDEX_NAME_PRODUCT_INDEX); 61 this.rebuildIndexWithlog(ISearchConstants.INDEX_NAME_PRODUCT_INDEX);
62 logger.info("indexRebuild productindex success, wait 2 min for doTplAdaptor ... "); 62 logger.info("indexRebuild productindex success, wait 2 min for doTplAdaptor ... ");
63 - Thread.sleep(2 * 60 * 1000L);  
64 } catch (Exception e) { 63 } catch (Exception e) {
65 } 64 }
66 65