PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/install/xbt/xbt_tracker.conf

http://torrentpier2.googlecode.com/
Unknown | 47 lines | 37 code | 10 blank | 0 comment | 0 complexity | 271d5a716e14fae22f8e992f9745c61a MD5 | raw file
 1mysql_host                  = localhost
 2mysql_database              = forum
 3mysql_user                  = user
 4mysql_password              = user
 5
 6auto_register               = 0
 7anonymous_announce          = 0
 8anonymous_scrape            = 0
 9anonymous_connect           = 0
10full_scrape                 = 0
11listen_check                = 0
12
13gzip_debug                  = 0
14gzip_scrape                 = 1
15full_scrape                 = 0
16
17announce_interval           = 700
18clean_up_interval           = 60
19read_config_interval        = 60
20read_db_interval            = 150
21scrape_interval             = 0
22write_db_interval           = 3
23read_files_interval         = 2
24
25table_files                 = bb_bt_torrents
26table_users                 = bb_bt_users
27table_files_users           = bb_bt_tracker
28
29column_files_completed      = complete_count
30column_files_fid            = topic_id
31column_users_uid            = user_id
32
33column_users_can_leech      = case when bt.u_down_total>5368709120 and (bt.u_up_total+bt.u_up_bonus)<bt.u_down_total*0.3 then 0 else 1 end
34column_users_torrents_limit = case when bt.u_up_total>greatest(5368709120,bt.u_down_total) then 0 when bt.u_up_total>5368709120 and bt.u_down_total>0 then floor((bt.u_up_total+bt.u_up_bonus)/0.3/bt.u_down_total)+1 when (bt.u_up_total+bt.u_up_bonus)>bt.u_down_total then 3 else 2 end
35
36column_files_dl_percent     = (select case tor.tor_type when 1 then 0 when 2 then 50 else 100 end from bb_bt_torrents tor where tor.topic_id=bt.topic_id) as dl_percent
37
38log_announce                = 0
39gdc                         = 1
40debug                       = 0
41#free_leech                 = 0
42log_access                  = 0
43
44redirect_url                = http://site.ru/forum/
45trust_ipv6                  = 1
46pid_file                    = xbt_tracker.pid
47