Use time.Hour where appropriate
This commit is contained in:
@@ -54,7 +54,7 @@ func DefaultConfig() *config.Config {
|
|||||||
Store: "memory",
|
Store: "memory",
|
||||||
Nodes: []string{"127.0.0.1:9233"},
|
Nodes: []string{"127.0.0.1:9233"},
|
||||||
Database: "storage-system",
|
Database: "storage-system",
|
||||||
TTL: 24 * 60 * 60 * time.Second,
|
TTL: 24 * time.Hour,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ func DefaultConfig() *config.Config {
|
|||||||
Store: "memory",
|
Store: "memory",
|
||||||
Nodes: []string{"127.0.0.1:9233"},
|
Nodes: []string{"127.0.0.1:9233"},
|
||||||
Database: "storage-users",
|
Database: "storage-users",
|
||||||
TTL: 24 * 60 * 60 * time.Second,
|
TTL: 24 * time.Hour,
|
||||||
},
|
},
|
||||||
IDCache: config.IDCache{
|
IDCache: config.IDCache{
|
||||||
Store: "nats-js-kv",
|
Store: "nats-js-kv",
|
||||||
|
|||||||
Reference in New Issue
Block a user