Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Aug 29, 2024
2 parents aec8b01 + 492fc0f commit b1cffdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions artifactory/services/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const (
defaultUploadMinSplit = utils.SizeMiB * 200
// The default maximum number of parts that can be concurrently uploaded per file during a multipart upload
defaultUploadSplitCount = 5
// Minimal file size to show progress bar
minFileSizeForProgressInKb = 250 * utils.SizeKib
// Minimal file size to show progress bar (to avoid polluting the terminal with a lot of progress lines)
minFileSizeForProgressInKb = 500 * utils.SizeKib
)

type UploadService struct {
Expand Down
2 changes: 2 additions & 0 deletions utils/io/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ type ProgressMgr interface {
// Specific initialization of reader progress indicators.
// Should be called before the first call to NewProgressReader.
InitProgressReaders()
// Clear tasks progress bar
ClearProgress()
}

type Progress interface {
Expand Down
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
const (
Development = "development"
Agent = "jfrog-client-go"
Version = "1.46.0"
Version = "1.46.1"
)

type MinVersionProduct string
Expand Down

0 comments on commit b1cffdc

Please sign in to comment.