-
Notifications
You must be signed in to change notification settings - Fork 1
Description of t2h[1.0.0.2] config
Configuration of the t2h based on json.
The t2h based on 2 core arch. so that why t2h config have two types of settings : settings for http server and settings for torrent core.
There are two types of setting keys first is key is required second key is optional(setting key have default value).
NOTE : [R|O, TYPE] R - required, O - optional, TYPE = type of key value.
INT = integer, example "1234"
STR = string or text, example "text/here and now"
BOOL = boolean, example "true" or "false"
[R,INT] "workers" : "" - number of worker thread(optimal value is num_of_processors*2).
[R,STR] "doc_root" : "" - path to http server doc root(may be same as tc_root).
[R,STR] "server_addr" : "" - IP address of the http server.(ex: 127.0.0.1)
[R,INT] "server_port ": "" - http server PORT.
[R,INT] "tc_port_start" : "" - port range start
[R,INT] "tc_port_end" : "" - port range stop
[O,INT] "tc_max_alert_wait_time" : "" - max torrent core loop update in secs(default value 15)
[O,INT] "tc_max_async_download_size" : "" - max data download per pieces request in kb(default value 5242880)
[R,STR] "tc_root" : "" - path to root for store downloaded(ing) data.
[O,INT] "tc_futures_timeout" : "" - do not change this value!
[O,BOOL] "tc_partial_files_download" : "" - on/off partial torrents download(default value true)
[O,INT] "tc_max_connections_per_torrent" : "" - max connection per torrent(means download/upload;default value 50)
[O,INT] "tc_max_uploads" : "" - do not change this value!
[O,INT] "tc_upload_limit" : "" - upload limit per torrent, 0 mean unlimited(default value 0)
[O,INT] "tc_download_limit" : "" - download limit per torrent, 0 mean unlimited(default value 0)
[O,BOOL] "tc_sequential_download" : "" - on/off sequential download for each torrent(default value true)
[O,BOOL] "tc_resolve_countries" : "" - on/off resolve countries(default value true)
[O,INT] "tc_resolve_checkout" : "" - do not change this value!
[O,BOOL] "tc_auto_error_resolving" : "" - do not change this value!
[O,BOOL] "tc_loadable_session" : "" - do not change this value!