<?php
/* Tracker Configuration
 * 
 * This is a sample config file, you can use it, for instance, if install.php fails
 *
 *  This file provides configuration informatino for
 *  the tracker. The user-editable variables are at the top. It is
 *  recommended that you do not change the database settings
 *  unless you know what you are doing.
 */

//Maximum reannounce interval.
$GLOBALS["report_interval"] = 1800;

//Minimum reannounce interval (optional).
$GLOBALS["min_interval"] = 300;

//Number of peers to send in one request.
$GLOBALS["maxpeers"] = 50;

//If set to true, then the tracker will accept any and all
//torrents given to it. Not recommended, but available if you need it.
$GLOBALS["dynamic_torrents"] = false;

// If set to true, NAT checking will be performed.
// This may cause trouble with some providers, so it is
// off by default.
$GLOBALS["NAT"] = false;

// Persistent connections: true or false.
// Check with your webmaster to see if you are allowed to use these.
// Highly recommended, especially for higher loads.
$GLOBALS["persist"] = false;

// Allow users to override ip= ?
// Enable this if you know people have a legit reason to use
// this function. Leave disabled otherwise.
$GLOBALS["ip_override"] = false;

// Username and password for file uploads. YOU MUST SET THESE!
// master_pass is the md5 of the password
$master_user="admin";
$master_pass="21232f297a57a5a743894a0e4a801fc3";

// For heavily loaded trackers, set this to false. It will stop count the number
// of downloaded bytes and the speed of the torrent, but will significantly reduce
// the load.
$GLOBALS["countbytes"] = true;

// Table caches!
// Lowers the load on all systems, but takes up more disk space.
// You win some, you lose some. But since the load is the big problem,
// grab this.
// 
// Warning! Enable this BEFORE making torrents, or else run makecache.php
// immediately, or else you will be in deep trouble. The tables will lose
// sync and the database will be in a somewhat \"stale\" state.
$GLOBALS["peercaching"] = true;



/////////// End of User Configuration ///////////

// These are usually filled in by install.php. 
// But if it fails to make a config.php for itself,
// you'll have to set these.

$dbhost="127.0.0.1";
$dbuser="username";
$dbpass="password";
$database="database";
?>