You bots, stop rechecking bad files
This commit is contained in:
parent
5c4c5fa9aa
commit
fbfdac438f
|
@ -45,7 +45,7 @@ while (true) {
|
|||
|
||||
// Получаем список песен для загрузки, помечаем в очереди, что мы их взяли в работу
|
||||
$db->q('BEGIN');
|
||||
$queue = $db->getRows($db->q("SELECT * FROM beathaven.queue WHERE status=0 OR status=2 ORDER BY priority DESC, times_failed ASC LIMIT ". QUEUE_PACK));
|
||||
$queue = $db->getRows($db->q("SELECT * FROM beathaven.queue WHERE status=0 ORDER BY priority DESC, times_failed ASC LIMIT ". QUEUE_PACK));
|
||||
$ids = array();
|
||||
foreach ($queue as $t) {
|
||||
$ids[] = $t['track_id'];
|
||||
|
|
Loading…
Reference in New Issue