Skip to content

Commit 4e78113

Browse files
Temporary disable multi threading for PDFs (#3196)
Temporary disable multithreading for PDFs
1 parent e785a0f commit 4e78113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libapi/src/libapi/rows_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def transform_rows(
6666
offset=offset,
6767
row_idx_column=row_idx_column,
6868
)
69-
if "Audio(" in str(features) or "Image(" in str(features) or "Pdf(" in str(features):
69+
if "Audio(" in str(features) or "Image(" in str(features):
7070
# Use multithreading to parallelize image/audio files uploads.
7171
# Also multithreading is ok to convert audio data
7272
# (we use pydub which might spawn one ffmpeg process per conversion, which releases the GIL)

0 commit comments

Comments
 (0)