mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Doc_to_pixels: remove unneeded timeout
Timeout can no longer be used since we're not calling a subprocess. We could still implement it, but it's more worthy to reply in yet-to-implement client-side timeouts (in containers).
This commit is contained in:
parent
317deadbe4
commit
ba17016643
1 changed files with 0 additions and 2 deletions
|
@ -250,8 +250,6 @@ class DocumentToPixels(DangerzoneConverter):
|
|||
raise errors.MaxPagesException()
|
||||
await self.write_page_count(doc.page_count)
|
||||
|
||||
# Get a more precise timeout, based on the number of pages
|
||||
timeout = self.calculate_timeout(size, doc.page_count)
|
||||
percentage_per_page = 45.0 / doc.page_count
|
||||
page_base = "/tmp/page"
|
||||
for page in doc.pages():
|
||||
|
|
Loading…
Reference in a new issue