Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f70f8d94db |
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
func Memory(cli *bigcache.BigCache, opts *bigcache.Config) {
|
||||
if opts == nil {
|
||||
opts = bigcache.Config{
|
||||
opts = &bigcache.Config{
|
||||
Shards: 1024,
|
||||
LifeWindow: 10 * time.Minute,
|
||||
CleanWindow: 5 * time.Minute,
|
||||
|
||||
Reference in New Issue
Block a user