Skip to content

Api calls failed (getting rate limited?) - use stored values where possible #72

Description

@markgdev

Api calls have recently started failing every now and then, it looks like they’re maybe getting rate limited. There are a lot of places where an api call is made where it doesn’t need to be, where possible data should be taken from stored values, most likely the rates entity in most cases.

Where it’s not a quick fix, for example run_devices the error should be caught so as not to cause further code not to be ignored (timers are executed after run_devices update so are not triggering.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions