Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
chore(redis): Deprioritizing some duplicate message logs (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert authored Aug 16, 2018
1 parent e451c68 commit c210bfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class RedisQueue(
pool.resource.use { redis ->
redis.firstFingerprint(queueKey, message.fingerprint()).also { fingerprint ->
if (fingerprint != null) {
log.warn("Re-prioritizing message as an identical one is already on the queue: " +
log.info("Re-prioritizing message as an identical one is already on the queue: " +
"$fingerprint, message: $message")
redis.zadd(queueKey, score(delay), fingerprint)
fire(MessageDuplicate(message))
Expand Down Expand Up @@ -196,7 +196,7 @@ class RedisQueue(
zadd(queueKey, score(), fingerprint)
hincrBy(attemptsKey, fingerprint, 1L)
}
log.warn("Not retrying message $fingerprint because an identical message " +
log.info("Not retrying message $fingerprint because an identical message " +
"is already on the queue")
fire(MessageDuplicate(message))
} else {
Expand Down

0 comments on commit c210bfb

Please sign in to comment.