fix: batchGetMaxSeq

pull/2438/head
withchao 1 year ago
parent 3a5d5cb309
commit 61fc375ce8

@ -77,7 +77,6 @@ func (s *seqConversationCacheRedis) batchGetMaxSeq(ctx context.Context, keys []s
return errs.Wrap(err)
}
}
if len(notFoundKey) > 0 {
for _, key := range notFoundKey {
conversationID := keyConversationID[key]
seq, err := s.GetMaxSeq(ctx, conversationID)
@ -86,7 +85,6 @@ func (s *seqConversationCacheRedis) batchGetMaxSeq(ctx context.Context, keys []s
}
seqs[conversationID] = seq
}
}
return nil
}

Loading…
Cancel
Save