balena-io-modules / scrutinizer

Extract a git repository's metadata relying on open source conventions
Apache License 2.0
8 stars 0 forks source link

getMetadata should be memoized #61

Closed dimitrisnl closed 5 years ago

dimitrisnl commented 5 years ago

We call this repeatedly, no need to bring us closer to rate limits.

dimitrisnl commented 5 years ago

Not applicable, since it only gets called once due to https://github.com/balena-io-modules/scrutinizer/commit/86d0941967d28877582c97462b7f00bd5171e0b7#diff-c8fc32feca0d046fab8be3924f81719eR20