Companion

object Companion

Properties

Link copied to clipboard

Default item lifetime (dht_item_lifetime), 2 hours.

Link copied to clipboard
const val DEFAULT_MAX_ITEMS: Int = 700

Default per-table item cap (dht_max_dht_items).

Link copied to clipboard
const val DEFAULT_MAX_PEERS: Int = 2000

Default per-torrent peer cap (dht_max_peers).

Link copied to clipboard
const val DEFAULT_MAX_PEERS_REPLY: Int = 100

Default peers returned per get_peers reply (dht_max_peers_reply).

Link copied to clipboard
const val DEFAULT_MAX_TORRENTS: Int = 2000

Default tracked-torrent cap (dht_max_torrents).

Link copied to clipboard

Minimum item lifetime libtorrent enforces: 120 minutes.

Link copied to clipboard

How long an announced peer is kept. libtorrent removes peers older than announce_interval * 3 / 2 where announce_interval is 30 minutes, i.e. 45 minutes = 2700 seconds.