From e60d86cf2c4b36e1a921782c83f428cf944f8675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Thu, 7 May 2026 21:41:26 +0200 Subject: [PATCH] Use time.Hour where appropriate --- services/storage-system/pkg/config/defaults/defaultconfig.go | 2 +- services/storage-users/pkg/config/defaults/defaultconfig.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/storage-system/pkg/config/defaults/defaultconfig.go b/services/storage-system/pkg/config/defaults/defaultconfig.go index 4fdcb568e6..52b13ac05c 100644 --- a/services/storage-system/pkg/config/defaults/defaultconfig.go +++ b/services/storage-system/pkg/config/defaults/defaultconfig.go @@ -54,7 +54,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-system", - TTL: 24 * 60 * 60 * time.Second, + TTL: 24 * time.Hour, }, } } diff --git a/services/storage-users/pkg/config/defaults/defaultconfig.go b/services/storage-users/pkg/config/defaults/defaultconfig.go index 5e777f60fc..5ed886023e 100644 --- a/services/storage-users/pkg/config/defaults/defaultconfig.go +++ b/services/storage-users/pkg/config/defaults/defaultconfig.go @@ -165,7 +165,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-users", - TTL: 24 * 60 * 60 * time.Second, + TTL: 24 * time.Hour, }, IDCache: config.IDCache{ Store: "nats-js-kv",