From 6e0a4010cbab7d987d820f4b715ae1c7defd4a76 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Sat, 22 Nov 2025 13:56:09 +1300 Subject: [PATCH] Change from LIFO to FIFO ordering for tile decoding --- python/src/tile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/tile.rs b/python/src/tile.rs index 2e37f01..322bbb0 100644 --- a/python/src/tile.rs +++ b/python/src/tile.rs @@ -71,7 +71,7 @@ impl PyTile { future_into_py(py, async move { let decoded_bytes = pool - .spawn_async(move || tile.decode(&decoder_registry)) + .spawn_fifo_async(move || tile.decode(&decoder_registry)) .await .unwrap(); Ok(PyBytes::new(decoded_bytes))