Skip to content

Commit

Permalink
config: set MaxAcctLookback to 4 (#4296)
Browse files Browse the repository at this point in the history
  • Loading branch information
cce authored Aug 1, 2022
1 parent 461a254 commit 86da537
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 195 deletions.
2 changes: 1 addition & 1 deletion config/localTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ type Local struct {

// MaxAcctLookback sets the maximum lookback range for account states,
// i.e. the ledger can answer account states questions for the range Latest-MaxAcctLookback...Latest
MaxAcctLookback uint64 `version[23]:"8"`
MaxAcctLookback uint64 `version[23]:"4"`
}

// DNSBootstrapArray returns an array of one or more DNS Bootstrap identifiers
Expand Down
2 changes: 1 addition & 1 deletion config/local_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var defaultLocal = Local{
LogArchiveName: "node.archive.log",
LogSizeLimit: 1073741824,
MaxAPIResourcesPerAccount: 100000,
MaxAcctLookback: 8,
MaxAcctLookback: 4,
MaxCatchpointDownloadDuration: 7200000000000,
MaxConnectionsPerIP: 30,
MinCatchpointFileDownloadBytesPerSecond: 20480,
Expand Down
2 changes: 1 addition & 1 deletion installer/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"LogArchiveName": "node.archive.log",
"LogSizeLimit": 1073741824,
"MaxAPIResourcesPerAccount": 100000,
"MaxAcctLookback": 8,
"MaxAcctLookback": 4,
"MaxCatchpointDownloadDuration": 7200000000000,
"MaxConnectionsPerIP": 30,
"MinCatchpointFileDownloadBytesPerSecond": 20480,
Expand Down
Loading

0 comments on commit 86da537

Please sign in to comment.