Skip to content

Commit

Permalink
feat: remove rate limit in download message
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Jan 11, 2024
1 parent 7282776 commit 1515264
Show file tree
Hide file tree
Showing 10 changed files with 481 additions and 496 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dragonfly-api"
version = "2.0.77"
version = "2.0.78"
authors = ["Gaius <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
137 changes: 61 additions & 76 deletions pkg/apis/common/v2/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions pkg/apis/common/v2/common.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pkg/apis/common/v2/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,8 @@ message Download {
string output_path = 11 [(validate.rules).string = {min_len: 1, ignore_empty: true}];
// Download timeout.
optional google.protobuf.Duration timeout = 12;
// Download rate limit in bytes per second.
optional uint64 download_rate_limit = 13 [(validate.rules).uint64 = {gte: 0, ignore_empty: true}];
// NeedBackToSource needs downloaded from source.
bool need_back_to_source = 14;
bool need_back_to_source = 13;
}

// Range represents download range.
Expand Down
Loading

0 comments on commit 1515264

Please sign in to comment.