|
@@ -141,8 +141,8 @@ func (this *Wrapper) UseDatabase() error {
|
|
|
|
|
|
// Max 60 minutes and max 4 connection per host
|
|
|
this.DB.SetConnMaxLifetime(time.Minute * 60)
|
|
|
- this.DB.SetMaxIdleConns(4)
|
|
|
- this.DB.SetMaxOpenConns(4)
|
|
|
+ this.DB.SetMaxIdleConns(8)
|
|
|
+ this.DB.SetMaxOpenConns(8)
|
|
|
|
|
|
return nil
|
|
|
}
|