Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f584726d6 |
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/allegro/bigcache/v3"
|
||||
)
|
||||
|
||||
func Memory(opts *bigcache.Config, cli *bigcache.BigCache) {
|
||||
func Memory(cli *bigcache.BigCache, opts *bigcache.Config) {
|
||||
config := bigcache.Config{
|
||||
Shards: 1024,
|
||||
LifeWindow: 10 * time.Minute,
|
||||
|
||||
Reference in New Issue
Block a user