Skip to content

Scrapes table #171

@freezlite

Description

@freezlite

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions