Authored by 张帅

fix

... ... @@ -10,6 +10,7 @@ import com.yohobuy.platform.common.service.redis.PlatformRedis;
import com.yohobuy.platform.common.util.DateUtil;
import com.yohobuy.platform.dal.grass.*;
import com.yohobuy.platform.dal.grass.model.*;
import com.yohobuy.platform.grass.mq.AutoAttentionComsumer;
import com.yohobuy.platform.grass.service.IGrassVirtualService;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
... ... @@ -106,7 +107,7 @@ public class GrassUserVirtualImpl implements IGrassVirtualService{
sendMessage(l);
}
platformRedis.delete(MESSAGE_SENDING_FLAG);
platformRedis.delete(MESSAGE_KEY);
platformRedis.delete(MESSAGE_KEY, "all", null);
logger.info("sendMessageTask end , message list clear success");
}else if(DateUtil.getCurrentTimeSeconds() - sendTime < 600){
logger.info("current message list is sending");
... ...