dangerzone/tests/isolation_provider
deeplow 69c2a02d81
Remove timeouts
Remove timeouts due to several reasons:

1. Lost purpose: after implementing the containers page streaming the
   only subprocess we have left is LibreOffice. So don't have such a
   big risk of commands hanging (the original reason for timeouts).

2. Little benefit: predicting execution time is generically unsolvable
   computer science problem. Ultimately we were guessing an arbitrary
   time based on the number of pages and the document size. As a guess
   we made it pretty lax (30s per page or MB). A document hanging for
   this long will probably lead to user frustration in any case and the
   user may be compelled to abort the conversion.

3. Technical Challenges with non-blocking timeout: there have been
several technical challenges in keeping timeouts that we've made effort
to accommodate. A significant one was having to do non-blocking read to
ensure we could timeout when reading conversion stream (and then used
here)

Fixes #687
2024-02-06 20:11:43 +00:00
..
__init__.py container: Improve parsing of progress reports 2023-08-01 14:43:49 +03:00
base.py Allow each conversion to have its own proc 2024-02-06 19:42:41 +00:00
test_container.py Remove timeouts 2024-02-06 20:11:43 +00:00
test_qubes.py Allow each conversion to have its own proc 2024-02-06 19:42:41 +00:00