Closed gnott closed 6 years ago
is this python2 or 3 code? because subprocess.popen
has a timeout
parameter in python3 that would obviate the need for the new dependency and all this code: https://docs.python.org/3.5/library/subprocess.html#subprocess.run
if python2 code, then it needs upgrading to python3 (pinging @seanwiseman )
also, if arrow is a dependency of a dependency (func_timeout) it probably shouldn't be in requirements.txt.
approving regardless.
Thanks Luke. It is run by the bot, so we still need Python 2 support in here I think.
To deploy the PDF decapitation timeout. Also, it seems we are not running the dockerised PDF decapitator in production yet, and if someone can please confirm we're ready to use it in production. I didn't realise it wasn't deployed yet.