Skip to content

Commit

Permalink
increase data transfer limit to 10gb
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Jun 14, 2024
1 parent 93990ce commit e766d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions path-compression/path_compresssion.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
kurtosisDataTransferLimit = 100 * 1024 * 1024 // 100 MB
kurtosisDataTransferLimit = 1000 * 1024 * 1024 // 10 GB
tempCompressionDirPattern = "upload-compression-cache-"
compressionExtension = ".tgz"
defaultTmpDir = ""
Expand Down Expand Up @@ -94,7 +94,7 @@ func CompressPathToFile(pathToCompress string, enforceMaxFileSizeLimit bool) (st

if enforceMaxFileSizeLimit && compressedFileSize >= kurtosisDataTransferLimit {
return "", 0, nil, stacktrace.NewError(
"The files you are trying to upload, which are now compressed, exceed or reach 100mb. " +
"The files you are trying to upload, which are now compressed, exceed or reach 10gb. " +
"Manipulation (i.e. uploads or downloads) of files larger than 100mb is currently disallowed in Kurtosis.")
}

Expand Down

0 comments on commit e766d8c

Please sign in to comment.