Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuaiyuan committed Jan 17, 2025
1 parent 8f6efef commit 4823690
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,9 @@ public void run() {
TimerMessageRocksDBStore.log.info(this.getServiceName() + " service start");
while (!this.isStopped() || !dequeuePutQueue.isEmpty()) {
try {
if (!allowDequeue) {
continue;
}
List<TimerMessageRecord> timerMessageRecord = dequeuePutQueue.poll(100L * precisionMs / 1000, TimeUnit.MILLISECONDS);
if (null == timerMessageRecord || timerMessageRecord.isEmpty()) {
continue;
Expand Down

0 comments on commit 4823690

Please sign in to comment.