aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/chef/chef.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/chef/chef.go')
-rw-r--r--routers/api/packages/chef/chef.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/chef/chef.go b/routers/api/packages/chef/chef.go
index b48b1778c4..28d07dea47 100644
--- a/routers/api/packages/chef/chef.go
+++ b/routers/api/packages/chef/chef.go
@@ -263,7 +263,7 @@ func UploadPackage(ctx *context.Context) {
}
defer file.Close()
- buf, err := packages_module.CreateHashedBufferFromReader(file)
+ buf, err := packages_module.CreateHashedBufferFromReader(file, 32*1024*1024)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return