-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
Labels
enhancementNew feature or requestNew feature or request