thought-machine / falco-probes

Automated build and mirror of eBPF kernel probes for use as a driver with the Falco runtime security agent (https://falco.org/)
Apache License 2.0
16 stars 4 forks source link

Add caching GitHub releases client #37

Closed VJftw closed 3 years ago

VJftw commented 3 years ago

This PR aims to mitigate #30 by wrapping the GitHub Releases library functions in a cache which enables us to greatly reduce the amount of GitHub API requests sent as we frequently list Releases and ReleaseAssets to determine whether or not a Probe has been uploaded or a Release already exists.