Skip to content

Commit 6e0a401

Browse files
committed
Change from LIFO to FIFO ordering for tile decoding
1 parent fac684f commit 6e0a401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/src/tile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl PyTile {
7171

7272
future_into_py(py, async move {
7373
let decoded_bytes = pool
74-
.spawn_async(move || tile.decode(&decoder_registry))
74+
.spawn_fifo_async(move || tile.decode(&decoder_registry))
7575
.await
7676
.unwrap();
7777
Ok(PyBytes::new(decoded_bytes))

0 commit comments

Comments
 (0)