Spaces:
Paused
Paused
Update engine.py
Browse files
engine.py
CHANGED
|
@@ -419,21 +419,37 @@ def vault_view():
|
|
| 419 |
return render_template_string(VAULT_HTML, grouped_vault=grouped_vault, key=ADMIN_KEY, sys_e_url=SYS_E_URL)
|
| 420 |
|
| 421 |
# ==========================================
|
| 422 |
-
#
|
| 423 |
# ==========================================
|
| 424 |
settings = {
|
| 425 |
'listen_interfaces': '0.0.0.0:6881',
|
| 426 |
-
'enable_dht':
|
| 427 |
'dht_bootstrap_nodes': 'router.bittorrent.com:6881,router.utorrent.com:6881,dht.transmissionbt.com:6881',
|
|
|
|
|
|
|
| 428 |
'connections_limit': 350,
|
| 429 |
-
'unchoke_slots_limit': 150,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
'active_downloads': 1,
|
| 431 |
-
'aio_threads': 12,
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
'
|
| 435 |
-
'
|
| 436 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 437 |
'announce_to_all_trackers': True,
|
| 438 |
'announce_to_all_tiers': True,
|
| 439 |
'enable_outgoing_utp': False,
|
|
|
|
| 419 |
return render_template_string(VAULT_HTML, grouped_vault=grouped_vault, key=ADMIN_KEY, sys_e_url=SYS_E_URL)
|
| 420 |
|
| 421 |
# ==========================================
|
| 422 |
+
# 🚀 3.2 GIGABIT (400 MB/s) MASTER CONFIGURATION
|
| 423 |
# ==========================================
|
| 424 |
settings = {
|
| 425 |
'listen_interfaces': '0.0.0.0:6881',
|
| 426 |
+
'enable_dht': False,
|
| 427 |
'dht_bootstrap_nodes': 'router.bittorrent.com:6881,router.utorrent.com:6881,dht.transmissionbt.com:6881',
|
| 428 |
+
|
| 429 |
+
# ⚡ THE GOLDILOCKS SWARM
|
| 430 |
'connections_limit': 350,
|
| 431 |
+
'unchoke_slots_limit': 150,
|
| 432 |
+
|
| 433 |
+
# ⚡ TCP PACING UNCAP
|
| 434 |
+
'connection_speed': 2000,
|
| 435 |
+
|
| 436 |
'active_downloads': 1,
|
| 437 |
+
'aio_threads': 12,
|
| 438 |
+
|
| 439 |
+
# ⚡ MASSIVE RAM RUNWAYS
|
| 440 |
+
'cache_size': 49152, # 2 GB RAM Buffer
|
| 441 |
+
'max_queued_disk_bytes': 384 * 1024 * 1024, # 2 GB Disk Write Buffer
|
| 442 |
+
|
| 443 |
+
# ⚡ TIMEOUTS & ENCRYPTION
|
| 444 |
+
'peer_connect_timeout': 3,
|
| 445 |
+
'min_reconnect_time': 2,
|
| 446 |
+
'request_timeout': 15,
|
| 447 |
+
'max_failcount': 1,
|
| 448 |
+
'in_enc_policy': 1,
|
| 449 |
+
'out_enc_policy': 1,
|
| 450 |
+
'strict_end_game_mode': True,
|
| 451 |
+
|
| 452 |
+
# ⚡ ANNOUNCE PROTOCOLS
|
| 453 |
'announce_to_all_trackers': True,
|
| 454 |
'announce_to_all_tiers': True,
|
| 455 |
'enable_outgoing_utp': False,
|