[ISSUE #7570] Add default value for lastPopTimestamp (#7571)

This commit is contained in:
cnScarb
2023-11-17 15:58:14 +08:00
committed by GitHub
parent 651a5ca992
commit 01a2aef96b
@@ -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;