Closed NyanHelsing closed 5 years ago
SVCS-683 Add timeouts for subprocess calls
Make subprocess time out instead of hanging indefinitely.
May make files that are particularly large time out if they take too long.
Adds a couple of ENV vars to configure the timeout if desired. Default set to 10s.
Coverage decreased (-0.3%) to 70.77% when pulling 3f230c2cc036aa6009a5e4051ff55c3c477f448f on birdbrained:ft/add-subproc-to into 7304d3b8e103008377c9fa9781d653b14fa29ade on CenterForOpenScience:develop.
Needs a rebase
Ticket
SVCS-683 Add timeouts for subprocess calls
Purpose
Make subprocess time out instead of hanging indefinitely.
Changes
Side effects
May make files that are particularly large time out if they take too long.
QA Notes
Deployment Notes
Adds a couple of ENV vars to configure the timeout if desired. Default set to 10s.