From 52884c3c39d57ade070f84a39e78ec4a15862c27 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Wed, 29 Jun 2005 01:30:59 +0000 Subject: [PATCH] Added throttle_interval option and backend. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@481 e378c898-3ddf-0310-93e7-cc216c733640 --- doc/rtorrent.1.xml | 10 ++++++++++ doc/rtorrent.rc | 4 ++++ src/main.cc | 32 +++++++++++++++++--------------- src/option_handler_rules.cc | 10 ++++++++++ src/option_handler_rules.h | 3 +++ 5 files changed, 44 insertions(+), 15 deletions(-) diff --git a/doc/rtorrent.1.xml b/doc/rtorrent.1.xml index d41de58b..aa31331b 100644 --- a/doc/rtorrent.1.xml +++ b/doc/rtorrent.1.xml @@ -425,6 +425,16 @@ + + throttle_interval = ms + + Interval between throttle ticks in milli-seconds, must be + between 1-5000 and defaults to + 1000. Shorter intervals will cause less + bandwidth usage spikes while requiring more CPU resources. + + + tracker_dump = yes | no diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index 21af8b37..f64d2a22 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -58,3 +58,7 @@ # Dump data received from trackers to the files "./tracker_dump.