It seems like the script is not working for me as it takes too long.
heroku closes the connection after 30 seconds and you cant change this timeout as its strictly set by heroku: https://devcenter.heroku.com/articles/request-timeout
Is there a chance to either add a "Transfer-Encoding: chunked header" or separate the script into threads and have the import run in the background and post something to the server every few seconds so the connection keeps open?
It seems like the script is not working for me as it takes too long.
heroku closes the connection after 30 seconds and you cant change this timeout as its strictly set by heroku: https://devcenter.heroku.com/articles/request-timeout
Is there a chance to either add a "Transfer-Encoding: chunked header" or separate the script into threads and have the import run in the background and post something to the server every few seconds so the connection keeps open?