Default to 1 year retension
This commit is contained in:
@@ -138,7 +138,7 @@ test('hyperdb deleteMetricPointsBefore removes old rows', async (t) => {
|
||||
|
||||
test('defaultRetentionConfig has sane defaults', (t) => {
|
||||
const d = defaultRetentionConfig()
|
||||
t.is(d.warmRetentionPreset, '1w')
|
||||
t.is(d.warmRetentionPreset, '1y')
|
||||
t.ok(d.autoPruneEnabled)
|
||||
t.ok(d.tier0Points > 0)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user