Skip to content

Commit

Permalink
Merge pull request #218 from hiddenalpha/FixLyingTimeLogger-20241029
Browse files Browse the repository at this point in the history
Fix misleading log
  • Loading branch information
dominik-cnx authored Oct 30, 2024
2 parents 9fd76db + 3bcad4a commit c94186c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/swisspush/redisques/RedisQues.java
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,6 @@ private Future<Void> checkQueues() {
}
});
} else {
log.debug("all queue items time used is {} ms", System.currentTimeMillis() - startTs);
onDone.accept(null, null);
}
return ctx.iter.hasNext();
Expand All @@ -1263,6 +1262,7 @@ private Future<Void> checkQueues() {
ctx.counter = null;
ctx.iter = null;
// Mark this composition step as completed.
log.debug("all queue items time used is {} ms", System.currentTimeMillis() - startTs);
p.complete();
}
});
Expand Down

0 comments on commit c94186c

Please sign in to comment.