fix: increase streaming chunk size for CSV and Excel view downloads#1817
fix: increase streaming chunk size for CSV and Excel view downloads#1817jacalata wants to merge 1 commit into
Conversation
|
Should this use the |
Raises iter_content chunk size from 1024 to 65536 bytes in _get_view_csv and _get_view_excel. The 1-KB default required ~200k iterations for a 200 MB download, causing apparent hangs when callers materialise the full stream with b''.join(view.csv). Closes #1374 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10703d8 to
695f784
Compare
Code ReviewSummary: Raises the Strengths
Issues / GapsInconsistent chunk size left in place elsewhere. The same hardcoded
Worth confirming whether No test asserts the new chunk size. The PR description's test plan checkbox is also still unchecked. Correctness
🤖 Generated with Claude Code |
|
@jacalata kind of funny how claude code keeps finding issues with a claude code aided PR :) Consider doing those consistency points if they make sense. |
Summary
iter_contentchunk size from 1024 to 65536 bytes in_get_view_csvand_get_view_excelb''.join(view.csv)Closes #1374
Test plan
test_populate_csv,test_populate_excel,test_filter_excel,test_populate_csv_default_maxageall pass🤖 Generated with Claude Code