Skip to content

Commit 355d7d2

Browse files
committed
add wal compression in rule
Signed-off-by: yeya24 <yb532204897@gmail.com>
1 parent a37ac09 commit 355d7d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/thanos/rule.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ func registerRule(m map[string]setupFunc, app *kingpin.Application) {
126126
MaxBlockDuration: *tsdbBlockDuration,
127127
RetentionDuration: *tsdbRetention,
128128
NoLockfile: true,
129+
WALCompression: true,
129130
}
130131

131132
lookupQueries := map[string]struct{}{}

0 commit comments

Comments
 (0)