From 24795821c042ed9a6de0dbf852b89254f55e33fb Mon Sep 17 00:00:00 2001 From: Sisira Jayawardena Date: Tue, 11 Aug 2026 13:18:56 +0530 Subject: [PATCH] set default kstore expired record cleanup interval to 24h --- backend/memory/memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/memory/memory.go b/backend/memory/memory.go index 36cd829..6abbada 100644 --- a/backend/memory/memory.go +++ b/backend/memory/memory.go @@ -37,7 +37,7 @@ func NewConfig() *config { func (c *config) parse() { if c.ExpiredRecordCleanupInterval == time.Duration(0) { - c.ExpiredRecordCleanupInterval = time.Second + c.ExpiredRecordCleanupInterval = 24 * time.Hour } if c.Logger == nil {