Skip to content

Commit

Permalink
chore: silence raced chunk loads
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Apr 14, 2023
1 parent 036378a commit d80c1af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private CompletableFuture<Either<Chunk, ChunkHolder.Unloaded>> injectCancellatio
if (either.right().isPresent()) {
return CompletableFuture.supplyAsync(() -> {
if (ChunkHolder.getTargetStatusForLevel(holder.getLevel()).isAtLeast(requiredStatus)) {
LOGGER.info("Chunk load {} raced, recovering", holder.getPos());
// LOGGER.info("Chunk load {} raced, recovering", holder.getPos());
return this.getChunk(holder, requiredStatus); // recover from cancellation
} else {
return CompletableFuture.completedFuture(either);
Expand Down

0 comments on commit d80c1af

Please sign in to comment.