Skip to content

Commit

Permalink
less memory means less pages
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Elliott <[email protected]>
  • Loading branch information
joe-elliott committed Nov 12, 2024
1 parent fe44474 commit 360949a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/generator/storage/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func agentDefaultOptions() agentOptions {
WALSegmentSize: defaultOptions.WALSegmentSize,
WALCompression: defaultOptions.WALCompression,
StripeSize: defaultOptions.StripeSize,
TruncateFrequency: defaultOptions.TruncateFrequency,
TruncateFrequency: 15 * time.Minute, // the default truncate frequency is 2h which consumes a lot of standing memory to store all the series. this means we can incur at most a 15m network outage before data loss
MinWALTime: defaultOptions.MinWALTime,
MaxWALTime: defaultOptions.MaxWALTime,
NoLockfile: defaultOptions.NoLockfile,
Expand Down

0 comments on commit 360949a

Please sign in to comment.