-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: increase beego max memory and upload size #19578
Conversation
1. Increase the default beego max memory and upload size from 32GB to 128GB. 2. Support customize the two beego configs from env. Signed-off-by: chlins <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #19578 +/- ##
==========================================
- Coverage 67.53% 67.52% -0.02%
==========================================
Files 991 991
Lines 109140 109144 +4
Branches 2719 2719
==========================================
- Hits 73708 73698 -10
- Misses 31458 31474 +16
+ Partials 3974 3972 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
I'm not sure increasing the limit is the solution for this issue; larger images will have the same problem. The registry and client need to agree on max size of the blob, and if the layer exceeds that, it needs to be split into more chunks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Because they are beego specific configurations, should we just change them in the beego app.conf? |
1. Increase the default beego max memory and upload size from 32GB to 128GB. 2. Support customize the two beego configs from env. Signed-off-by: chlins <[email protected]> Co-authored-by: Wang Yan <[email protected]> Signed-off-by: wang yan <[email protected]>
1. Increase the default beego max memory and upload size from 32GB to 128GB. 2. Support customize the two beego configs from env. Signed-off-by: chlins <[email protected]> Co-authored-by: Wang Yan <[email protected]> (cherry picked from commit 553c85e) Signed-off-by: stonezdj <[email protected]>
…#19670) fix: increase beego max memory and upload size (#19578) 1. Increase the default beego max memory and upload size from 32GB to 128GB. 2. Support customize the two beego configs from env. (cherry picked from commit 553c85e) Signed-off-by: chlins <[email protected]> Signed-off-by: stonezdj <[email protected]> Co-authored-by: Chlins Zhang <[email protected]> Co-authored-by: Wang Yan <[email protected]>
1. Increase the default beego max memory and upload size from 32GB to 128GB. 2. Support customize the two beego configs from env. Signed-off-by: chlins <[email protected]> Co-authored-by: Wang Yan <[email protected]> Signed-off-by: Altynbaev Dinislam <[email protected]>
Thank you for contributing to Harbor!
Comprehensive Summary of your change
Issue being fixed
Fixes #18888
Please indicate you've done the following: