Merge pull request #856 from cbcoutinho/fix/graphics-limit-timeout-tuning

fix: lower DOCUMENT_PDF_GRAPHICS_LIMIT default 5000 → 1000 (parse timeouts)
This commit is contained in:
Chris Coutinho
2026-06-05 00:09:12 +02:00
committed by GitHub
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ async def test_processor_success_builds_page_boundaries(monkeypatch):
assert "Hello world" in result.text
assert result.metadata["page_boundaries"][0]["page"] == 1
# settings forwarded to the isolated parse
assert seen["graphics_limit"] == 5000
assert seen["graphics_limit"] == 1000
assert seen["timeout_seconds"] == 120
assert seen["mem_limit_mb"] == 1536