Skip to content

Commit

Permalink
Parallel read chunk requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshiew committed Dec 9, 2024
1 parent 0a531b1 commit f33bc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/infinigen/src/chunks/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn handle_chunk_request(
world: Res<World>,
) {
let task_pool = AsyncComputeTaskPool::get();
for ev in request_chunk_evs.read() {
for (ev, _) in request_chunk_evs.par_read() {
if registry.get_status(ev.zoom_level, &ev.position).is_some() {
continue;
}
Expand Down

0 comments on commit f33bc3d

Please sign in to comment.