Skip to content

Commit

Permalink
ADH-5240
Browse files Browse the repository at this point in the history
- refactored page process provider
  • Loading branch information
VitekArkhipov committed Nov 29, 2024
1 parent 4281e92 commit df75758
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public void add(PageProcessor processor)
lock.lock();
try {
pageProcessors.add(processor);
isReadyForProcessing.set(true);
isReadyForProcessingCondition.signalAll();
}
finally {
Expand Down Expand Up @@ -71,6 +70,7 @@ public PageProcessor take()
throw new RuntimeException(e);
}
}
isReadyForProcessing.set(true);
}
PageProcessor pageProcessor = pageProcessors.poll();
pageProcessors.offer(pageProcessor);
Expand Down

0 comments on commit df75758

Please sign in to comment.