File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aidial_rag/image_processor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ async def extract_pages_gen(
9090
9191 logger .debug (f"Extracting page { page_number } ..." )
9292
93- # Render in thread pool, because pypdfium2 is not thread safe
93+ # Render in thread pool with a single thread , because pypdfium2 is not thread safe
9494 image = await loop .run_in_executor (
9595 self ._thread_pool ,
9696 _render_page ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ async def test_attachment_image_invalid_page2():
7171
7272
7373@pytest .mark .asyncio
74- async def test_attachment_pptx ():
74+ async def test_presentation_converted ():
7575 with open ("tests/data/test_presentation_converted.pdf" , "rb" ) as pdf_file :
7676 pdf_bytes = pdf_file .read ()
7777
You can’t perform that action at this time.
0 commit comments