i had a tracker close and no seeders and leechers the torrents are not visible.what command can display all dead torrents and for how long time?
UPDATE `torrents` SET `visible` = 'yes';
$site_config['PEERLIMIT'] = '10000'; //LIMIT NUMBER OF PEERS GIVEN IN EACH ANNOUNCE
$site_config['autoclean_interval'] = '3600'; //Time between each auto cleanup (Seconds)
$site_config['LOGCLEAN'] = 28 * 86400; // How often to delete old entries. (Default: 28 days)
$site_config['announce_interval'] = '900'; //Announce Interval (Seconds)
$site_config['signup_timeout'] = '259200'; //Time a user stays as pending before being deleted(Seconds)
$site_config['maxsiteusers'] = '10000'; //Maximum site members
$site_config['max_dead_torrent_time'] = '21600';//Time until torrents that are dead are set invisible (Seconds)
259200 / 86400 = 3 days (72 hours):)
UPDATE `torrents` SET `visible` = 'yes';
$site_config['autoclean_interval'] = '3600';
$site_config['max_dead_torrent_time'] = '21600';/
//LOCAL TORRENTS - MAKE NON-ACTIVE/OLD TORRENTS INVISIBLE
$deadtime = gmtime() - $site_config["max_dead_torrent_time"];
SQL_Query_exec("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < FROM_UNIXTIME($deadtime) AND seeders = '0' AND leechers = '0' AND external !='yes'");
No users online
Torrents
Members
Online