If a peer already has a piece, don't bother telling him.
[etorrent.git] / doc / configuration_options.txt
blob6dda4b38fad4192255e56819e43cf22bdcc6d8b1
1 This document describes the various configuration options of
2 etorrent.
4 Etorrent:
6 * port: This is the port which etorrent should listen on for incoming
7     connections. By default it is the taxicab number 1729, but it can
8     of course be changed. We don't need a range of ports because we
9     will find out what torrent we are transferring in the handshake.
11 * dir: The directory to place .torrent files in and the directory to
12     which torrent files will be downloaded.
14 * logger_dir: The directory of the etorrent log file
15 * logger_fname: The name of the log file. It is *not* currently
16     rotated and it is appended upon. The format is a simple term-log.
18 * max_peers: The maximum number of peers etorrent should connect
19     to. If more connections come in that this number they will be
20     rejected. On modern setups I expect one can set this fairly high.
22 * max_upload_slots: How many peers should we try to simultaneously
23     upload data to? May be an integer N or the value 'auto' in which
24     case the slots will be estimated based on the upload rate.
26 * max_upload_rate: A number N in kilobytes. Determines the maximum
27     bandwidth available for etorrent. Is currently only used for
28     calculation of the number of upload slots.
30 * min_uploads: The number of optimistic unchokers running.
32 Mnesia:
34 * dir: The directory in which to store the database state. The
35   database is used for fast-resume data among other things.
37 You don't need to touch the kernel parameters.
39 The SASL parameters can be uncommented to give you a SASL error
40 log. For development this is good because you can leave the client on
41 for a while and then come back to see if it has produced any kind of
42 errors.