mirror of
https://github.com/gofiber/storage.git
synced 2025-10-04 08:16:36 +08:00
📦 add memcache
This commit is contained in:
@@ -40,6 +40,7 @@ func New(config ...Config) *Storage {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// Set options
|
||||
db.SetMaxOpenConns(cfg.MaxOpenConns)
|
||||
db.SetMaxIdleConns(cfg.MaxIdleConns)
|
||||
db.SetConnMaxLifetime(cfg.ConnMaxLifetime)
|
||||
|
Reference in New Issue
Block a user