Skip to content

[Enhancement] pulling freq/timeout #193

@Mafiadoener36

Description

@Mafiadoener36

I observed, specifically for cainiao and Hermes, that i get error if i view to often.

Long term each carrier should have its own custom "allowed request/hour limit" - tracked individually.

As a quick fix I propose a new setting: "max request/hour:" accepting integers. Polling rate so to speak.

As I understand it r8 now, on each click onto a tracking item, a new request is sent.

There needs to be a new variable, currReqPerHour , which is first increased, than if currReqPerHour >= maxReqPerHour(from settings) well load cached version.

And there needs to be simple caching logic implemented after each pull from api, which we jump to, if we asked server to often already!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions