Skip to content

Iterates through all pages in Sandboxes and hits rate limits #59

@arjunsatarkar

Description

@arjunsatarkar

When downloading a post in Sandboxes, this code (I think)

let board_posts = BoardPosts::get_all_cached(board.id, !use_cache)
causes glowpub to iterate through all 100+ pages of posts in that continuity just as part of deciding the file name. This often hits rate limits and cases multi-minute backoff after the post has already been fetched. It'd be nice to be able to skip this logic.

(After further thought, this might be cached and therefore only cause an issue on the first instance of downloading such a post?)

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