| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
| ) | ||
|
|
||
| type Client struct { | ||
| *http.Client |
There was a problem hiding this comment.
There's never a http.Client used within ACR - it creates its own - so removing.
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
During testing we identified that there was significant memory utilisation when running version-checker for 2-3 days we saw that our test cluster was running at ~400+MB when it started off at around 40-60MB.
This PR changes over from manually implemented shared informers and managing the workqueue and its goroutines, to use controller-runtime, this means we don't have to manage as much code/logic and workers ourselves and is managed for us, allowing us to focus more on the purpose of version-checker.
We do believe that there is still a memory leak, however from testing (over 24 hour period) on the same cluster, that memory usage has increased at a much slower rate, additionally we've seen that goroutines are staying at a reasonable number, where as previously it was growing exponentially at, what was an alarming rate under some situations.