I have a Django webapp that allows downloading of data exported from the MySQL DB. I am using a StreamingHttpResponse to download the file, but if there is too much to download (>2.5MB) the download ends prematurely without error. In the server.log is HARAKIRI after 300 seconds. All the other solutions in the forum suggest to avoid taking so long (e.g. #2680) but that isn't really an option here. Is there a way to override the harakiri timeout or reset it like a watchdog?
Thanks.