Changes between Version 26 and Version 27 of MovedToGitHub/EditConfigFiles


Ignore:
Timestamp:
Jun 4, 2009, 4:16:59 PM (13 years ago)
Author:
Waldorf
Comment:

Add Scheduling

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/EditConfigFiles

    v26 v27  
    1414{
    1515    "rpc-enabled": 1,
    16     "peer-port" : 9091,
    17     "rpc-whitelist": "127.0.0.*,192.168.*.*"
     16    "peer-port" : 51413,
     17    "rpc-whitelist": "127.0.0.1,192.168.*.*"
    1818}
    1919}}}
     
    2525 * '''lazy-bitfield-enabled:''' Boolean (default = true)
    2626 * '''open-file-limit:''' Number (default = 32)
    27  * '''peer-socket-tos:''' Number (default = false)
     27 * '''peer-socket-tos:''' Number (default = 0)
    2828 * '''pex-enabled:''' Boolean (default =  true)
    2929 * '''dht-enabled:''' Boolean (default = true)
     
    3434 * '''upload-limit:''' Number (kb/s, default = 100)
    3535 * '''upload-limit-enabled:''' Boolean (default = false)
    36  * '''ratio-limit:''' Number (default = 2.0)
    37  * '''ratio-limit-enabled:'''  Boolean (default = false)
     36 * '''alt-speed-enabled:''' Boolean (default = false, aka 'Turtle Mode')
     37 * '''alt-speed-up:''' Number (default = 50)
     38 * '''alt-speed-down:''' Number (default = 50)
    3839==== [wiki:Blocklists] ====
    3940 * '''blocklist-enabled:''' Boolean (default = false)
     
    6566 * '''rpc-whitelist:''' String (Comma-delimited list of IP addresses. Wildcards allowed using '*'. Example: "127.0.0.*,192.168.*.*", Default:  "127.0.0.1" )
    6667 * '''rpc-whitelist-enabled:''' Boolean (default = true)
    67 
     68==== Scheduling ====
     69 * '''ratio-limit:''' Number (default = 2.0)
     70 * '''ratio-limit-enabled:'''  Boolean (default = false)
     71 * '''alt-speed-time-enabled:''' Boolean (default = false)
     72 * '''alt-speed-time-begin:''' Number (default = 540, in minutes from midnight, 9am)
     73 * '''alt-speed-time-end:''' Number (default = 1020, in minutes from midnight, 5pm)
     74 * '''alt-speed-time-day:''' Number/bitfield (default = 127, all days)
     75   * Start with 0, then for each day you want the scheduler enabled, add:
     76    * '''Sunday''': 1 (binary: {{{1000000}}})
     77    * '''Monday''': 2 (binary: {{{0100000}}})
     78    * '''Tuesday''': 4 (binary: {{{0010000}}})
     79    * '''Wednesday''': 8 (binary: {{{0001000}}})
     80    * '''Thursday''': 16 (binary: {{{0000100}}})
     81    * '''Friday''': 32 (binary: {{{0000010}}})
     82    * '''Saturday''': 64 (binary: {{{0000001}}})
     83   * Examples:
     84    * '''Weekdays''': 62 (binary: {{{0111110}}})
     85    * '''Weekends''': 65 (binary: {{{1000001}}})
     86    * '''All Days''': 127 (binary: {{{1111111}}})
    6887
    6988=== Legacy Options ===