Add missing comment to PENDING_INFO_HASHES

This commit is contained in:
Adam Dobrawy 2017-05-01 00:40:54 +02:00
parent cde5728019
commit 9b12c25966
2 changed files with 1 additions and 3 deletions

View File

@ -4,7 +4,7 @@ BOOTSTRAPPING_NODES = [
("router.bittorrent.com", 6881),
("dht.transmissionbt.com", 6881)
]
PENDING_INFO_HASHES = 10
PENDING_INFO_HASHES = 10 # threshold for pending info hashes before being committed to database:
TICK_INTERVAL = 1 # in seconds (soft constraint)
# maximum (inclusive) number of active (disposable) peers to fetch the metadata per info hash at the same time:

View File

@ -18,8 +18,6 @@ import time
import typing
import os
# threshold for pending info hashes before being committed to database:
from .constants import PENDING_INFO_HASHES