Skip to content

Speed of accessing AoC #1

Open
Open
@GeoffRiley

Description

@GeoffRiley

I've had a look at the code and cannot see any form of rate limiting for downloading the data from the AoC site, this could result in the undesirable multiple requests per second that Eric tries to avoid.

It is possible that I've overlooked something, but if not may I suggest that you put an appropriate sleep in to pull back a bit. This shouldn't be a problem for people using init/py to pick up 'todays' data and those picking up the historical data isn't going to be too worried about speed as they won't be racing for a placing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions