Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,17 +5,13 @@ import time
|
|
| 5 |
import random
|
| 6 |
from datetime import datetime
|
| 7 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 8 |
-
# ==============================================================================
|
| 9 |
-
# ⚙️ CONFIGURATION
|
| 10 |
-
# ==============================================================================
|
| 11 |
-
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 12 |
|
| 13 |
# ==============================================================================
|
| 14 |
# ⚙️ CONFIGURATION (RAM EATER EDITION)
|
| 15 |
# ==============================================================================
|
| 16 |
TARGET_COUNT = 200 # Keep 20 Elite Proxies
|
| 17 |
TIMEOUT_SEC = 3 # ⚡ Speed: Kill connection if no response in 3s (was 5s)
|
| 18 |
-
CHECK_INTERVAL =
|
| 19 |
MAX_THREADS = 30000 # 🚀 AGGRESSIVE: 300 checks at once (Uses more RAM/CPU)
|
| 20 |
|
| 21 |
# Shared Memory
|
|
|
|
| 5 |
import random
|
| 6 |
from datetime import datetime
|
| 7 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# ==============================================================================
|
| 10 |
# ⚙️ CONFIGURATION (RAM EATER EDITION)
|
| 11 |
# ==============================================================================
|
| 12 |
TARGET_COUNT = 200 # Keep 20 Elite Proxies
|
| 13 |
TIMEOUT_SEC = 3 # ⚡ Speed: Kill connection if no response in 3s (was 5s)
|
| 14 |
+
CHECK_INTERVAL = 10 # Re-check every 2 mins
|
| 15 |
MAX_THREADS = 30000 # 🚀 AGGRESSIVE: 300 checks at once (Uses more RAM/CPU)
|
| 16 |
|
| 17 |
# Shared Memory
|