mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 08:27:27 -04:00
Use time.Hour where appropriate
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user