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))