amri12310 commited on
Commit
2abd160
·
verified ·
1 Parent(s): c2d3fac

Update engine.py

Browse files
Files changed (1) hide show
  1. engine.py +1 -1
engine.py CHANGED
@@ -466,7 +466,7 @@ def process_and_queue(filepath, target_u_id, start_chunk, end_chunk, chunk_size,
466
  def continuous_peer_pulse(u_id, info_hash, trackers, handle, peer_id):
467
  """Silently tops off the peer list every 3 minutes until the download finishes."""
468
  while True:
469
- time.sleep(180) # Wait 3 minutes between pulses
470
  try:
471
  # Stop pulsing if the download is finished, killed, or stalled
472
  if u_id not in active_vaults or handle.status().state in [lt.torrent_status.seeding, lt.torrent_status.finished]:
 
466
  def continuous_peer_pulse(u_id, info_hash, trackers, handle, peer_id):
467
  """Silently tops off the peer list every 3 minutes until the download finishes."""
468
  while True:
469
+ time.sleep(500) # Wait 3 minutes between pulses
470
  try:
471
  # Stop pulsing if the download is finished, killed, or stalled
472
  if u_id not in active_vaults or handle.status().state in [lt.torrent_status.seeding, lt.torrent_status.finished]: