From 046a61a2f2e219645e51705c28561580a032c61e Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Sun, 21 Jan 2018 17:21:39 -0600 Subject: [PATCH] Fix - abrir prefacturas grandes --- source/app/main_debug.ini | 2 +- source/app/models/main.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source/app/main_debug.ini b/source/app/main_debug.ini index 94481fe..2196794 100644 --- a/source/app/main_debug.ini +++ b/source/app/main_debug.ini @@ -8,4 +8,4 @@ threads = 4 py-autoreload = 1 thunder-lock = true static-map = /static=../static -http-timeout = 120 \ No newline at end of file +http-timeout = 180 \ No newline at end of file diff --git a/source/app/models/main.py b/source/app/models/main.py index b4450f9..3385eb1 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -4090,9 +4090,6 @@ class PreFacturasDetalle(BaseModel): @classmethod def can_open(cls, id): c = cls.count(id) - # ~ result = c < 300 - # ~ if result: - # ~ return True PreFacturas.get_pdf_in_thread(id) return c < 300