As I saw in code, scrapes task created in scrapes_queue when someone browsing torrens. When I'm run ./yii scrape/queue It trying to get those scrapes task with following sql:
select s.id, t.hash, t.id as torrent_id, s.name from scrapes s
right join torrents t on s.torrent_id = t.id
where s.status = 0 and t.id in (9461,7690,1623,7059)
order by s.name;
But it's never will get any rows while scrapes(not scrapes_queue) records empty. I found just 1 logic with inserting those table and it's after this sql. So summing of saying, scrape logic will never runs.
As I saw in code, scrapes task created in scrapes_queue when someone browsing torrens. When I'm run ./yii scrape/queue It trying to get those scrapes task with following sql: select s.id, t.hash, t.id as torrent_id, s.name from scrapes s right join torrents t on s.torrent_id = t.id where s.status = 0 and t.id in (9461,7690,1623,7059) order by s.name; But it's never will get any rows while scrapes(not scrapes_queue) records empty. I found just 1 logic with inserting those table and it's after this sql. So summing of saying, scrape logic will never runs.