Use time.Hour where appropriate

This commit is contained in:
André Duffeck
2026-05-07 21:41:26 +02:00
parent 544968a4de
commit e60d86cf2c
2 changed files with 2 additions and 2 deletions

View File

@@ -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,
},
}
}

View File

@@ -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",