Add missing comment to PENDING_INFO_HASHES
This commit is contained in:
parent
cde5728019
commit
9b12c25966
@ -4,7 +4,7 @@ BOOTSTRAPPING_NODES = [
|
|||||||
("router.bittorrent.com", 6881),
|
("router.bittorrent.com", 6881),
|
||||||
("dht.transmissionbt.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)
|
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:
|
# maximum (inclusive) number of active (disposable) peers to fetch the metadata per info hash at the same time:
|
||||||
|
@ -18,8 +18,6 @@ import time
|
|||||||
import typing
|
import typing
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# threshold for pending info hashes before being committed to database:
|
|
||||||
|
|
||||||
from .constants import PENDING_INFO_HASHES
|
from .constants import PENDING_INFO_HASHES
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user