Skip to content

Commit

Permalink
fix: 简化messageRecord存入缓存的内容
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhao committed Mar 11, 2022
1 parent db6cab2 commit eb23964
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public DefaultMessageStore() {
@Override
public void save(MessageRecord messageRecord) {
try {
cacheClient.put(messageRecord.getMessageInfo().getMessageId() + "-" + messageRecord.getHandlerName(), messageRecord);
cacheClient.put(messageRecord.getMessageInfo().getMessageId() + "-" + messageRecord.getHandlerName(), "0");
} catch (Exception ex) {
logger.warn("缓存通道异常", ex);
}
Expand Down

0 comments on commit eb23964

Please sign in to comment.