Skip to content

Commit

Permalink
optim : removing counter
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Dec 26, 2023
1 parent d6a059f commit 428264b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void run() {




// Dequeuing
for (int i = 0; i < dequeuePageSize; i++) {
Product item = service.getQueue().take();

Expand All @@ -68,12 +68,11 @@ public void run() {
}
}

// Store operation retrieve fragments, historize and re-index
long now = System.currentTimeMillis();


service.store(buffer.values());

logger.info("{} has indexed {} DataFragments in {}ms. {} Remaining in queue",workerName, buffer.size(),System.currentTimeMillis()-now, service.getQueue().size());
logger.info("{} has indexed {} DataFragments. {} Remaining in queue",workerName, buffer.size(), service.getQueue().size());

} else {
try {
Expand Down

0 comments on commit 428264b

Please sign in to comment.