{"html_url": "https://github.com/simonw/datasette/issues/266#issuecomment-394417567", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/266", "id": 394417567, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NDQxNzU2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-04T16:30:48Z", "updated_at": "2018-06-04T16:32:55Z", "author_association": "OWNER", "body": "When serving streaming responses, I need to check that a large CSV file doesn't completely max out the CPU in a way that is harmful to the rest of the instance.\r\n\r\nIf it does, one option may be to insert an async sleep call in between each chunk that is streamed back. This could be controlled by a `csv_pause_ms` config setting, defaulting to maybe 5 but can be disabled entirely by setting to 0.\r\n\r\nThat's only if testing proves that this is a necessary mechanism.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 323681589, "label": "Export to CSV"}, "performed_via_github_app": null}