Skip to content

Commit

Permalink
[ISSUE #7570] Add default value for lastPopTimestamp (#7571)
Browse files Browse the repository at this point in the history
  • Loading branch information
HScarb authored Nov 17, 2023
1 parent 651a5ca commit 01a2aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class PopProcessQueue {

private final static long PULL_MAX_IDLE_TIME = Long.parseLong(System.getProperty("rocketmq.client.pull.pullMaxIdleTime", "120000"));

private long lastPopTimestamp;
private long lastPopTimestamp = System.currentTimeMillis();
private AtomicInteger waitAckCounter = new AtomicInteger(0);
private volatile boolean dropped = false;

Expand Down

0 comments on commit 01a2aef

Please sign in to comment.