UDP tracker optimization

This commit is contained in:
Arvid Norberg
2010-02-06 08:14:18 +00:00
parent abfc92de35
commit 8c02d04d2e
8 changed files with 79 additions and 15 deletions

View File

@@ -3722,6 +3722,8 @@ session_settings
bool low_prio_disk;
int local_service_announce_interval;
int udp_tracker_token_expiry;
bool volatile_read_cache;
bool guided_read_cache;
bool default_min_cache_age;
@@ -4219,6 +4221,13 @@ bound on the time a cache line stays in the cache is an attempt
to avoid swapping the same pieces in and out of the cache in case
there is a shortage of spare cache space.
``udp_tracker_token_expiry`` is the number of seconds libtorrent
will keep UDP tracker connection tokens around for. This is specified
to be 60 seconds, and defaults to that. The higher this value is, the
fewer packets have to be sent to the UDP tracker. In order for higher
values to work, the tracker needs to be configured to match the
expiration time for tokens.
pe_settings
===========