SmartGridready / SGrPython

Development of SGr PyPi package
Other
1 stars 1 forks source link

http request cache to improve performance #19

Closed robin-schoch closed 7 months ago

robin-schoch commented 7 months ago

Added TTL cache to cache http calls for a certain (5 seconds) amount of time. This will improve performance as only one call to the api will be performant when many datapoint are request in a short time.

I also made some changes to how certain parameter from the INI file configuration are parsed to insure that it is possible to read the required parameters from the XML-specs.