topGdev commited on
Commit
2f36c8b
·
1 Parent(s): 40c1a77

increased request timeout

Browse files
Files changed (1) hide show
  1. app/utils/web_utils.py +2 -2
app/utils/web_utils.py CHANGED
@@ -27,8 +27,8 @@ except Exception:
27
 
28
  # ---- OPTIMIZED Configuration ----
29
  MAX_WORKERS = 8 # Increased for parallelism
30
- REQUEST_TIMEOUT = 5 # Reduced from 6 - fail faster
31
- PER_URL_TIMEOUT = 8 # Reduced from 10
32
  POLITENESS_DELAY = 0.1 # Reduced from 0.25
33
  GOOGLE_NUM_DEFAULT = 10
34
  MIN_TEXT_LENGTH = 700
 
27
 
28
  # ---- OPTIMIZED Configuration ----
29
  MAX_WORKERS = 8 # Increased for parallelism
30
+ REQUEST_TIMEOUT = 12 # Reduced from 6 - fail faster
31
+ PER_URL_TIMEOUT = 14 # Reduced from 10
32
  POLITENESS_DELAY = 0.1 # Reduced from 0.25
33
  GOOGLE_NUM_DEFAULT = 10
34
  MIN_TEXT_LENGTH = 700