Skip to content

Commit

Permalink
update MaxCatchpointDownloadDuration to 12h
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Jun 27, 2023
1 parent df22f75 commit 161d212
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/localTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ type Local struct {
// MaxCatchpointDownloadDuration defines the maximum duration a client will be keeping the outgoing connection of a catchpoint download request open for processing before
// shutting it down. Networks that have large catchpoint files, slow connection or slow storage could be a good reason to increase this value. Note that this is a client-side only
// configuration value, and it's independent of the actual catchpoint file size.
MaxCatchpointDownloadDuration time.Duration `version[13]:"7200000000000"`
MaxCatchpointDownloadDuration time.Duration `version[13]:"7200000000000" version[28]:"43200000000000"`

// MinCatchpointFileDownloadBytesPerSecond defines the minimal download speed that would be considered to be "acceptable" by the catchpoint file fetcher, measured in bytes per seconds. If the
// provided stream speed drops below this threshold, the connection would be recycled. Note that this field is evaluated per catchpoint "chunk" and not on it's own. If this field is zero,
Expand Down
2 changes: 1 addition & 1 deletion config/local_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var defaultLocal = Local{
MaxAPIBoxPerApplication: 100000,
MaxAPIResourcesPerAccount: 100000,
MaxAcctLookback: 4,
MaxCatchpointDownloadDuration: 7200000000000,
MaxCatchpointDownloadDuration: 43200000000000,
MaxConnectionsPerIP: 15,
MinCatchpointFileDownloadBytesPerSecond: 20480,
NetAddress: "",
Expand Down
2 changes: 1 addition & 1 deletion installer/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"MaxAPIBoxPerApplication": 100000,
"MaxAPIResourcesPerAccount": 100000,
"MaxAcctLookback": 4,
"MaxCatchpointDownloadDuration": 7200000000000,
"MaxCatchpointDownloadDuration": 43200000000000,
"MaxConnectionsPerIP": 15,
"MinCatchpointFileDownloadBytesPerSecond": 20480,
"NetAddress": "",
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/configs/config-v28.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"MaxAPIBoxPerApplication": 100000,
"MaxAPIResourcesPerAccount": 100000,
"MaxAcctLookback": 4,
"MaxCatchpointDownloadDuration": 7200000000000,
"MaxCatchpointDownloadDuration": 43200000000000,
"MaxConnectionsPerIP": 15,
"MinCatchpointFileDownloadBytesPerSecond": 20480,
"NetAddress": "",
Expand Down

0 comments on commit 161d212

Please sign in to comment.