Skip to content

Commit 9eb6241

Browse files
committed
Actually fix thing
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 2b9ec8a commit 9eb6241

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

vortex-io/src/object_store/read_at.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@ impl VortexReadAt for ObjectStoreReadAt {
117117
let allocator = Arc::clone(&self.allocator);
118118
let range = offset..(offset + length as u64);
119119

120-
async move {
121-
let blocking_handle = handle.clone();
120+
let blocking_handle = handle.clone();
122121

123-
handle
122+
handle
124123
.spawn_io(async move {
125124
let mut buffer = allocator.allocate(length, alignment)?;
126125

@@ -179,8 +178,6 @@ impl VortexReadAt for ObjectStoreReadAt {
179178

180179
Ok(BufferHandle::new_host(buffer.freeze()))
181180
})
182-
.await
183-
}
184181
.boxed()
185182
}
186183
}

0 commit comments

Comments
 (0)